Module: vkd3d Branch: master Commit: 52069386c492c48b8dc0cbc7977a8ad835a9c283 URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/52069386c492c48b8dc0cbc7977a8a...
Author: Zebediah Figura zfigura@codeweavers.com Date: Tue Oct 25 23:14:43 2022 -0500
tests: Fix constructor declaration in the partial UAV write test.
Make sure the test fails for the right reason. Spotted by Francisco Casas.
---
tests/uav.shader_test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/uav.shader_test b/tests/uav.shader_test index 09ca05ec..297cf14a 100644 --- a/tests/uav.shader_test +++ b/tests/uav.shader_test @@ -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; }