vkd3d/tests/hlsl-majority-pragma.shader_test
Zebediah Figura 98a36dfa41 tests: Mark individual test directives as todo.
Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-15 21:18:06 +02:00

22 lines
462 B
Plaintext

[pixel shader]
#pragma pack_matrix(row_major)
uniform float2x2 r;
#pragma pack_matrix(column_major)
uniform float2x2 c;
float4 main() : sv_target
{
float4 ret;
ret.xy = mul(r, float2(0.5, 0.6));
ret.zw = mul(c, float2(0.5, 0.6));
return ret;
}
[test]
uniform 0 float4 0.1 0.2 0.0 0.0
uniform 4 float4 0.3 0.4 0.0 0.0
uniform 8 float4 0.1 0.3 0.0 0.0
uniform 12 float4 0.2 0.4 0.0 0.0
todo draw quad
probe all rgba (0.17, 0.39, 0.17, 0.39) 1