From a62f88d1f862f7177c907fdbd109d4481cd69ff3 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sun, 21 Sep 2014 00:09:38 -0700 Subject: [PATCH] d3d9: Oops, don't need this, no prescale. Hmm, trying to reduce differences, though... --- GPU/Directx9/VertexShaderGeneratorDX9.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/GPU/Directx9/VertexShaderGeneratorDX9.cpp b/GPU/Directx9/VertexShaderGeneratorDX9.cpp index f70eaf8c5b..b540ae8cf1 100644 --- a/GPU/Directx9/VertexShaderGeneratorDX9.cpp +++ b/GPU/Directx9/VertexShaderGeneratorDX9.cpp @@ -104,11 +104,7 @@ void ComputeVertexShaderIDDX9(VertexShaderIDDX9 *id, u32 vertType, int prim, boo // 2 bits. id1 |= (vertTypeGetWeightMask(vertType) >> GE_VTYPE_WEIGHT_SHIFT) << 25; id1 |= (gstate.areNormalsReversed() & 1) << 27; - if (doTextureProjection && gstate.getUVProjMode() == GE_PROJMAP_UV) { - id1 |= ((vertType & GE_VTYPE_TC_MASK) >> GE_VTYPE_TC_SHIFT) << 28; // two bits - } else { - id1 |= (hasTexcoord & 1) << 28; - } + id1 |= (hasTexcoord & 1) << 28; } id->d[0] = id0;