tests: Use SM1-compatible uniform layouts in shader tests.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura
2022-03-07 19:55:42 -06:00
committed by Alexandre Julliard
parent 9bbce56dad
commit efd9e9e990
5 changed files with 14 additions and 13 deletions

View File

@@ -1,7 +1,7 @@
[pixel shader]
float4 main(uniform float u, uniform float v, uniform float w, uniform float x,
uniform float y, uniform float z) : SV_TARGET
float4 main(uniform float4 a, uniform float2 b) : SV_TARGET
{
float u = a.x, v = a.y, w = a.z, x = a.w, y = b.x, z = b.y;
return float4(x * y - z / w + --u / -v,
z * x / y + w / -v,
u + v - w,