mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
vkd3d-shader: Allow declarations to specify type modifiers redundant with the type.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
committed by
Alexandre Julliard
parent
b38f94cfdc
commit
1dbb146454
11
tests/hlsl-duplicate-modifiers.shader_test
Normal file
11
tests/hlsl-duplicate-modifiers.shader_test
Normal file
@ -0,0 +1,11 @@
|
||||
[pixel shader]
|
||||
typedef const precise row_major float2x2 mat_t;
|
||||
float4 main() : sv_target
|
||||
{
|
||||
const precise row_major mat_t mat = float2x2(0.1, 0.2, 0.3, 0.4);
|
||||
return mat;
|
||||
}
|
||||
|
||||
[test]
|
||||
draw quad
|
||||
probe all rgba (0.1, 0.2, 0.3, 0.4)
|
Reference in New Issue
Block a user