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

14 lines
163 B
HLSL

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