diff options
| author | nitsuja- <nitsuja-@hotmail.com> | 2010-12-19 20:59:23 +0000 |
|---|---|---|
| committer | nitsuja- <nitsuja-@hotmail.com> | 2010-12-19 20:59:23 +0000 |
| commit | 98fe8437ae7f6028a42a963ceadbeb74a74b25b0 (patch) | |
| tree | 26be07088d4be931eea6f6f1d62509b0fb0e607c /Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp | |
| parent | 47454a4ed983f5a0c12b477c4eeb65ddf1f223fb (diff) | |
reduced frequency of dx9 ps_2_0 pixel generation errors, and made dx9 efb depth peek of 16-bit depth buffer not use 24-bit adjustment factor. shouldn't affect other the plugins.
(probably nobody else cares, but I need at least one video plugin that actually works on this computer)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6618 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp')
| -rw-r--r-- | Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp b/Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp index 0799e4e70f..5f5193f45b 100644 --- a/Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp +++ b/Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp @@ -353,7 +353,7 @@ bool PixelShaderCache::SetShader(DSTALPHA_MODE dstAlphaMode, u32 components) } // Need to compile a new shader - const char* code = GeneratePixelShaderCode(dstAlphaMode, API_D3D11, components); + const char* code = GeneratePixelShaderCode(dstAlphaMode, API_D3D11, 65536, components); D3DBlob* pbytecode; if (!D3D::CompilePixelShader(code, strlen(code), &pbytecode)) |
