dawn-cmake/test/tint/ptr_ref/store/param/private/i32.wgsl.expected.dxc.hlsl

12 lines
128 B
HLSL

void func(inout int pointer) {
pointer = 42;
}
static int P = 0;
[numthreads(1, 1, 1)]
void main() {
func(P);
return;
}