vkd3d-shader/hlsl: Forbid mismatched argument types in ternaries.

This commit is contained in:
Zebediah Figura
2024-01-16 18:45:29 -06:00
committed by Alexandre Julliard
parent 275901557c
commit 9ad48f16ea
Notes: Alexandre Julliard 2024-01-18 23:20:41 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/571
2 changed files with 20 additions and 4 deletions

View File

@ -124,7 +124,7 @@ probe all rgba (5.0, 6.0, 7.0, 1.0)
% * the result operands are scalar;
% * one is a typeN and the other is a type1xN
[pixel shader fail todo]
[pixel shader fail]
uniform float4 cond;
uniform float2x2 a, b;
@ -135,7 +135,7 @@ float4 main() : sv_target
}
[pixel shader fail todo]
[pixel shader fail]
uniform float2x2 cond;
uniform float4 a, b;
@ -162,7 +162,7 @@ draw quad
probe all rgba (1.0, 6.0, 7.0, 4.0)
[pixel shader fail todo]
[pixel shader fail]
uniform float3 cond;
uniform float4 a, b;
@ -174,7 +174,7 @@ float4 main() : sv_target
}
[pixel shader fail todo]
[pixel shader fail]
uniform float4 cond;
uniform float4x1 a, b;