address review comment

remove PB pr sampling adjustments
This commit is contained in:
medievil1 2024-02-03 12:08:00 -05:00
parent ad0b8340da
commit aedb5ba87b
1 changed files with 0 additions and 8 deletions

View File

@ -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)