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

11 lines
173 B
HLSL

[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)));
}