diff --git a/src/core/hle/D3D8/Direct3D9/FixedFunctionPixelShader.hlsl b/src/core/hle/D3D8/Direct3D9/FixedFunctionPixelShader.hlsl index 93df5c190..cebbd634e 100644 --- a/src/core/hle/D3D8/Direct3D9/FixedFunctionPixelShader.hlsl +++ b/src/core/hle/D3D8/Direct3D9/FixedFunctionPixelShader.hlsl @@ -174,14 +174,6 @@ TextureArgs ExecuteTextureStage( // Sample the texture float4 t; int type = TextureSampleType[i]; - // Divide texcoords by w when sampling - // Which corresponds to D3DTTFF_PROJECTED behaviour - // The w component can be set by titles in vertex shaders - // without using texture transform flags - // Test case: DoA 3 reflections on 'Ice Stage' - //float4 coords;// = TexCoords[i].xyzw / TexCoords[i].w; - if (TexCoords[i].w > 1.0) - TexCoords[i].xyzw = TexCoords[i].xyzw / TexCoords[i].w; if (type == SAMPLE_NONE) t = 1; // Test case JSRF else if (type == SAMPLE_2D)