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

11 lines
168 B
HLSL
Raw Permalink Normal View History

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