dawn-cmake/test/tint/statements/compound_assign/scalar/modulo.wgsl.expected.fxc.hlsl

11 lines
173 B
HLSL
Raw Permalink Normal View History

[numthreads(1, 1, 1)]
void unused_entry_point() {
return;
}
RWByteAddressBuffer v : register(u0, space0);
void foo() {
v.Store(0u, asuint((asint(v.Load(0u)) % 2)));
}