tests: Fix constructor declaration in the partial UAV write test.

Make sure the test fails for the right reason. Spotted by Francisco Casas.
This commit is contained in:
Zebediah Figura 2022-10-25 23:14:43 -05:00 committed by Alexandre Julliard
parent b711b2d66b
commit 52069386c4
Notes: Alexandre Julliard 2022-10-31 22:39:35 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Zebediah Figura (@zfigura)
Approved-by: Francisco Casas (@fcasas)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/36

View File

@ -7,8 +7,8 @@ RWTexture2D<float4> u;
float4 main() : sv_target float4 main() : sv_target
{ {
/* All four components must be written in a single statement. */ /* All four components must be written in a single statement. */
u[uint2(0, 0)].xy = float4(1, 2); u[uint2(0, 0)].xy = float2(1, 2);
u[uint2(0, 0)].zw = float4(3, 4); u[uint2(0, 0)].zw = float2(3, 4);
return 0; return 0;
} }