dawn-cmake/test/tint/ptr_ref/load/param/storage/i32.wgsl.expected.dxc.hlsl

12 lines
165 B
HLSL

ByteAddressBuffer S : register(t0, space0);
int func_S() {
return asint(S.Load(0u));
}
[numthreads(1, 1, 1)]
void main() {
const int r = func_S();
return;
}