mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-27 17:30:33 +00:00
tests: Add some more tests for RWByteAddressBuffer store methods.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
parent
cf27065b7d
commit
6637948ae1
Notes:
Henri Verbeet
2024-10-28 18:12:37 +01:00
Approved-by: Elizabeth Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1222
@ -23,6 +23,47 @@ probe uav 1 (0) ri (10)
|
||||
if(sm<6) probe uav 1 (1) ri (11)
|
||||
if(sm>=6) probe uav 1 (1) r (11.1)
|
||||
|
||||
[pixel shader todo]
|
||||
RWByteAddressBuffer u : register(u1);
|
||||
|
||||
float4 main() : sv_target
|
||||
{
|
||||
u.Store2(0, uint2(10, 11));
|
||||
u.Store2(8, float2(12.2f, 13.3f));
|
||||
return 0;
|
||||
}
|
||||
|
||||
[test]
|
||||
todo(sm<6) draw quad
|
||||
probe uav 1 (0) rgbaui(10, 11, 12, 13)
|
||||
|
||||
[pixel shader todo]
|
||||
RWByteAddressBuffer u : register(u1);
|
||||
|
||||
float4 main() : sv_target
|
||||
{
|
||||
u.Store(0, 20);
|
||||
u.Store3(4, uint3(21, 22, 23));
|
||||
return 0;
|
||||
}
|
||||
|
||||
[test]
|
||||
todo(sm<6) draw quad
|
||||
probe uav 1 (0) rgbaui(20, 21, 22, 23)
|
||||
|
||||
[pixel shader todo]
|
||||
RWByteAddressBuffer u : register(u1);
|
||||
|
||||
float4 main() : sv_target
|
||||
{
|
||||
u.Store(0, 20);
|
||||
u.Store3(4, float3(21.1f, 22.2f, 23.3f));
|
||||
return 0;
|
||||
}
|
||||
|
||||
[test]
|
||||
todo(sm<6) draw quad
|
||||
probe uav 1 (0) rgbaui(20, 21, 22, 23)
|
||||
|
||||
[require]
|
||||
shader model >= 5.0
|
||||
|
Loading…
Reference in New Issue
Block a user