diff --git a/tests/hlsl/uav-rwbyteaddressbuffer.shader_test b/tests/hlsl/uav-rwbyteaddressbuffer.shader_test index 7344ec43..edf3b5a0 100644 --- a/tests/hlsl/uav-rwbyteaddressbuffer.shader_test +++ b/tests/hlsl/uav-rwbyteaddressbuffer.shader_test @@ -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