mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
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:
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
@ -7,8 +7,8 @@ RWTexture2D<float4> u;
|
||||
float4 main() : sv_target
|
||||
{
|
||||
/* All four components must be written in a single statement. */
|
||||
u[uint2(0, 0)].xy = float4(1, 2);
|
||||
u[uint2(0, 0)].zw = float4(3, 4);
|
||||
u[uint2(0, 0)].xy = float2(1, 2);
|
||||
u[uint2(0, 0)].zw = float2(3, 4);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user