From: Francisco Casas <fcasas(a)codeweavers.com> We are directly translating HLSL_IR_JUMP_DISCARD_NEG to texkill, but texkill only takes the first three components into account, so if only the 4th component is negative, we get different results. --- tests/hlsl/clip.shader_test | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/hlsl/clip.shader_test b/tests/hlsl/clip.shader_test index 1ebc06871..68059f216 100644 --- a/tests/hlsl/clip.shader_test +++ b/tests/hlsl/clip.shader_test @@ -20,3 +20,6 @@ probe all rgba (9, 8, 7, 6) uniform 0 float4 9 0 7 6 todo(glsl) draw quad probe all rgba (9, 0, 7, 6) +uniform 0 float4 3 3 3 -1 +todo(glsl) draw quad +todo(sm<4) probe all rgba (9, 0, 7, 6) -- GitLab https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/744