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

12 lines
157 B
HLSL

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