dawn-cmake/test/tint/ptr_ref/store/param/ptr.wgsl.expected.hlsl

11 lines
143 B
HLSL

void func(int value, inout int pointer) {
pointer = value;
}
[numthreads(1, 1, 1)]
void main() {
int i = 123;
func(123, i);
return;
}