diff options
| author | Jules Blok <jules.blok@gmail.com> | 2016-10-31 15:49:16 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-31 15:49:16 +0100 |
| commit | 650181479268fd708fa321549a63f5ea8d60b7c4 (patch) | |
| tree | e981eb6a53588deb47865fd6c441350bb5b2bcb5 /Source/Core/VideoCommon/PixelShaderGen.cpp | |
| parent | 5102e76a7f3cefa515c2c37143c9d707bc5dbc4d (diff) | |
| parent | 2058a494656c9aac8211eaf9665b36308340d6cc (diff) | |
Merge pull request #4413 from Armada651/readable-driver-details
DriverDetails: Make the bug identifiers humanly readable.
Diffstat (limited to 'Source/Core/VideoCommon/PixelShaderGen.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/PixelShaderGen.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/PixelShaderGen.cpp b/Source/Core/VideoCommon/PixelShaderGen.cpp index 37e01ade0d..26148147c5 100644 --- a/Source/Core/VideoCommon/PixelShaderGen.cpp +++ b/Source/Core/VideoCommon/PixelShaderGen.cpp @@ -530,7 +530,6 @@ ShaderCode GeneratePixelShaderCode(APIType ApiType, const pixel_shader_uid_data* else { out.Write("FRAGMENT_OUTPUT_LOCATION(0) out vec4 ocol0;\n"); - out.Write("vec4 ocol1;\n"); // Consume the output we don't use } if (uid_data->per_pixel_depth) @@ -1194,7 +1193,7 @@ static void WriteAlphaTest(ShaderCode& out, const pixel_shader_uid_data* uid_dat out.SetConstantsUsed(C_ALPHA, C_ALPHA); - if (DriverDetails::HasBug(DriverDetails::BUG_BROKENNEGATEDBOOLEAN)) + if (DriverDetails::HasBug(DriverDetails::BUG_BROKEN_NEGATED_BOOLEAN)) out.Write("\tif(( "); else out.Write("\tif(!( "); @@ -1209,7 +1208,7 @@ static void WriteAlphaTest(ShaderCode& out, const pixel_shader_uid_data* uid_dat compindex = uid_data->alpha_test_comp1; out.Write(tevAlphaFuncsTable[compindex], alphaRef[1]); - if (DriverDetails::HasBug(DriverDetails::BUG_BROKENNEGATEDBOOLEAN)) + if (DriverDetails::HasBug(DriverDetails::BUG_BROKEN_NEGATED_BOOLEAN)) out.Write(") == false) {\n"); else out.Write(")) {\n"); |
