dawn-cmake/test/tint/statements/compound_assign/vector/plus-scalar.wgsl.expected.f...

11 lines
180 B
HLSL
Raw Permalink Normal View History

[numthreads(1, 1, 1)]
void unused_entry_point() {
return;
}
RWByteAddressBuffer v : register(u0, space0);
void foo() {
v.Store4(0u, asuint((asfloat(v.Load4(0u)) + 2.0f)));
}