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

12 lines
144 B
HLSL

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