From 0ba6d12e9df5eb9ddfac62b1a00f995c3a3b7762 Mon Sep 17 00:00:00 2001 From: degasus Date: Tue, 23 Jul 2013 02:13:40 +0200 Subject: [PATCH] fix a small uid awsome bug --- Source/Core/VideoCommon/Src/PixelShaderGen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/VideoCommon/Src/PixelShaderGen.cpp b/Source/Core/VideoCommon/Src/PixelShaderGen.cpp index 7d629f33ab..9c80d078ff 100644 --- a/Source/Core/VideoCommon/Src/PixelShaderGen.cpp +++ b/Source/Core/VideoCommon/Src/PixelShaderGen.cpp @@ -1118,7 +1118,7 @@ static void WriteAlphaTest(T& out, pixel_shader_uid_data& uid_data, API_TYPE Api out.Write("\tif(!( "); uid_data.alpha_test_comp0 = bpmem.alpha_test.comp0; - uid_data.alpha_test_logic = bpmem.alpha_test.comp1; + uid_data.alpha_test_comp1 = bpmem.alpha_test.comp1; uid_data.alpha_test_logic = bpmem.alpha_test.logic; // Lookup the first component from the alpha function table