mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-09-13 09:16:14 -07:00
tests/hlsl: Add a test for a structured UAV scalar store.
This commit is contained in:
parent
0f7095d2aa
commit
7e4fee658b
Notes:
Alexandre Julliard
2024-04-23 22:57:34 +02:00
Approved-by: Francisco Casas (@fcasas) 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/684
@ -156,3 +156,25 @@ float4 main() : sv_target1
|
||||
todo(sm<6) draw quad
|
||||
probe uav 2 (0) rgbai (11, -12, 13, -14)
|
||||
probe uav 2 (1) rgbai (-15, 16, -17, 18)
|
||||
|
||||
[uav 2]
|
||||
stride 4
|
||||
size (buffer, 2)
|
||||
|
||||
1 2
|
||||
|
||||
% Test scalar store
|
||||
[pixel shader todo]
|
||||
RWStructuredBuffer<uint> u : register(u2);
|
||||
|
||||
float4 main() : sv_target1
|
||||
{
|
||||
u[0] = 11;
|
||||
u[1] = 12;
|
||||
return 0;
|
||||
}
|
||||
|
||||
[test]
|
||||
todo(sm<6) draw quad
|
||||
probe uav 2 (0) ri (11)
|
||||
probe uav 2 (1) ri (12)
|
||||
|
Loading…
Reference in New Issue
Block a user