From aedb5ba87b5367e68474d091d4363f56d63740af Mon Sep 17 00:00:00 2001 From: medievil1 <38597905+medievil1@users.noreply.github.com> Date: Sat, 3 Feb 2024 12:08:00 -0500 Subject: [PATCH] address review comment remove PB pr sampling adjustments --- src/core/hle/D3D8/Direct3D9/FixedFunctionPixelShader.hlsl | 8 -------- 1 file changed, 8 deletions(-) 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)