dawn-cmake/test/tint/statements/decrement/array_element.wgsl.expected...

11 lines
160 B
HLSL
Raw Normal View History

[numthreads(1, 1, 1)]
void unused_entry_point() {
return;
}
RWByteAddressBuffer a : register(u0);
void main() {
a.Store(4u, asuint((a.Load(4u) - 1u)));
}