Add HLSL memory barrier intrinsics, fix dst, add lit & EvaluateAttributeSnapped
This commit is contained in:
13
Test/hlsl.intrinsics.barriers.comp
Normal file
13
Test/hlsl.intrinsics.barriers.comp
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
float ComputeShaderFunction()
|
||||
{
|
||||
AllMemoryBarrier();
|
||||
AllMemoryBarrierWithGroupSync();
|
||||
DeviceMemoryBarrier();
|
||||
DeviceMemoryBarrierWithGroupSync();
|
||||
GroupMemoryBarrier();
|
||||
GroupMemoryBarrierWithGroupSync();
|
||||
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user