summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/PixelShaderGen.cpp
diff options
context:
space:
mode:
authorStenzek <stenzek@gmail.com>2017-07-31 23:29:28 +1000
committerStenzek <stenzek@gmail.com>2017-08-01 00:01:09 +1000
commit852e30bb8ca71ae419cf5ed15c63ceba417c0f83 (patch)
treeadccba5dce16f16ec1f940effb44ab78e3eae0fb /Source/Core/VideoCommon/PixelShaderGen.cpp
parented331918f0f7a8836cda9f34df4a7ef86cd55e0d (diff)
Ubershaders: Fix 6-bit color truncation not being applied
Diffstat (limited to 'Source/Core/VideoCommon/PixelShaderGen.cpp')
-rw-r--r--Source/Core/VideoCommon/PixelShaderGen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/PixelShaderGen.cpp b/Source/Core/VideoCommon/PixelShaderGen.cpp
index 308807e7c8..d503b21176 100644
--- a/Source/Core/VideoCommon/PixelShaderGen.cpp
+++ b/Source/Core/VideoCommon/PixelShaderGen.cpp
@@ -379,7 +379,7 @@ void WritePixelShaderCommonHeader(ShaderCode& out, APIType ApiType, u32 num_texg
"\tuint bpmem_fogRangeBase;\n"
"\tuint bpmem_dstalpha;\n"
"\tuint bpmem_ztex_op;\n"
- "\tbool bpmem_early_ztest;\n"
+ "\tbool bpmem_late_ztest;\n"
"\tbool bpmem_rgba6_format;\n"
"\tbool bpmem_dither;\n"
"\tbool bpmem_bounding_box;\n"