tests: Adjust abs.shader_test to pass with 1.x.

Pixel shader 1.x constants must be between -1 and 1, or they will be clamped,
even constants defined in the shader.

Also mark 1.x-specific features if any.
This commit is contained in:
Elizabeth Figura 2024-12-18 00:20:17 -06:00 committed by Henri Verbeet
parent e805fe3e36
commit 004a381d9c
Notes: Henri Verbeet 2025-01-22 15:03:30 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1324

View File

@ -1,4 +1,4 @@
[pixel shader]
[pixel shader fail(sm<2)]
uniform float2 u;
float4 main() : sv_target