mirror of https://github.com/PCSX2/pcsx2.git
GSdx: Anisotropic Filtering.
Fixes a small oversight on my part. Which was setting the maximum anisotropy to (0,1,2,3,4) respectively, instead of (1,2,4,8,16). So when you selected x16 for example, you were actually only getting x4 >.> Corrected now, and you will be getting the full x16 when selected :) git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5879 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
b8f8459275
commit
42b879e6b8
|
@ -309,7 +309,7 @@ bool GSDevice11::Create(GSWnd* wnd)
|
||||||
|
|
||||||
memset(&sd, 0, sizeof(sd));
|
memset(&sd, 0, sizeof(sd));
|
||||||
|
|
||||||
sd.Filter = sd.Filter = !!theApp.GetConfig("AnisotropicFiltering", 0) && !theApp.GetConfig("paltex", 0) ? D3D11_FILTER_ANISOTROPIC : D3D11_FILTER_MIN_MAG_MIP_LINEAR;;
|
sd.Filter = sd.Filter = !!theApp.GetConfig("AnisotropicFiltering", 0) && !theApp.GetConfig("paltex", 0) ? D3D11_FILTER_ANISOTROPIC : D3D11_FILTER_MIN_MAG_MIP_LINEAR;
|
||||||
sd.AddressU = D3D11_TEXTURE_ADDRESS_CLAMP;
|
sd.AddressU = D3D11_TEXTURE_ADDRESS_CLAMP;
|
||||||
sd.AddressV = D3D11_TEXTURE_ADDRESS_CLAMP;
|
sd.AddressV = D3D11_TEXTURE_ADDRESS_CLAMP;
|
||||||
sd.AddressW = D3D11_TEXTURE_ADDRESS_CLAMP;
|
sd.AddressW = D3D11_TEXTURE_ADDRESS_CLAMP;
|
||||||
|
|
|
@ -143,11 +143,11 @@ GSdxApp::GSdxApp()
|
||||||
m_gs_upscale_multiplier.push_back(GSSetting(5, "5x Native", ""));
|
m_gs_upscale_multiplier.push_back(GSSetting(5, "5x Native", ""));
|
||||||
m_gs_upscale_multiplier.push_back(GSSetting(6, "6x Native", ""));
|
m_gs_upscale_multiplier.push_back(GSSetting(6, "6x Native", ""));
|
||||||
|
|
||||||
m_gs_max_anisotropy.push_back(GSSetting(0, "1x", ""));
|
m_gs_max_anisotropy.push_back(GSSetting(1, "1x", ""));
|
||||||
m_gs_max_anisotropy.push_back(GSSetting(1, "2x", ""));
|
m_gs_max_anisotropy.push_back(GSSetting(2, "2x", ""));
|
||||||
m_gs_max_anisotropy.push_back(GSSetting(2, "4x", ""));
|
m_gs_max_anisotropy.push_back(GSSetting(4, "4x", ""));
|
||||||
m_gs_max_anisotropy.push_back(GSSetting(3, "8x", ""));
|
m_gs_max_anisotropy.push_back(GSSetting(8, "8x", ""));
|
||||||
m_gs_max_anisotropy.push_back(GSSetting(4, "16x", ""));
|
m_gs_max_anisotropy.push_back(GSSetting(16, "16x", ""));
|
||||||
|
|
||||||
m_gpu_renderers.push_back(GSSetting(0, "Direct3D9 (Software)", ""));
|
m_gpu_renderers.push_back(GSSetting(0, "Direct3D9 (Software)", ""));
|
||||||
m_gpu_renderers.push_back(GSSetting(1, "Direct3D11 (Software)", ""));
|
m_gpu_renderers.push_back(GSSetting(1, "Direct3D11 (Software)", ""));
|
||||||
|
|
Loading…
Reference in New Issue