dawn-cmake/test/tint/ptr_ref/store/param/function/i32.wgsl.expected.fxc.hlsl

11 lines
122 B
HLSL

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