From a8c37e5d6b5cb2deddfab180193768ad0d469db6 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Mon, 29 Feb 2016 16:26:30 -0600 Subject: [PATCH] Remove two more asserts in VertexShaderGen. As confirmed by a hardware test if we are using the texgen type of COLOR_STRGBC0/STRGBC1 then it sets the texture coordinates to those values regardless of what the input form or source row is. Thanks to Ornox for testing again --- Source/Core/VideoCommon/VertexShaderGen.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Source/Core/VideoCommon/VertexShaderGen.cpp b/Source/Core/VideoCommon/VertexShaderGen.cpp index 313d1bc5f7..83e1d34d6c 100644 --- a/Source/Core/VideoCommon/VertexShaderGen.cpp +++ b/Source/Core/VideoCommon/VertexShaderGen.cpp @@ -256,11 +256,9 @@ static T GenerateVertexShader(API_TYPE api_type) break; case XF_TEXGEN_COLOR_STRGBC0: - _assert_(texinfo.sourcerow == XF_SRCCOLORS_INROW); out.Write("o.tex%d.xyz = float3(o.colors_0.x, o.colors_0.y, 1);\n", i); break; case XF_TEXGEN_COLOR_STRGBC1: - _assert_(texinfo.sourcerow == XF_SRCCOLORS_INROW); out.Write("o.tex%d.xyz = float3(o.colors_1.x, o.colors_1.y, 1);\n", i); break; case XF_TEXGEN_REGULAR: