diff options
Diffstat (limited to 'tests/hlsl/simple/allow-uav-conditional.hlsl')
| -rw-r--r-- | tests/hlsl/simple/allow-uav-conditional.hlsl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/hlsl/simple/allow-uav-conditional.hlsl b/tests/hlsl/simple/allow-uav-conditional.hlsl index 1526244a2..3f12c9be8 100644 --- a/tests/hlsl/simple/allow-uav-conditional.hlsl +++ b/tests/hlsl/simple/allow-uav-conditional.hlsl @@ -2,6 +2,10 @@ // Check output for `[allow_uav_conditional]` +#ifndef __SLANG__ +#define gBuffer _SV07gBuffer +#endif + RWStructuredBuffer<uint> gBuffer : register(u0); [numthreads(16,1,1)] |
