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

11 lines
163 B
HLSL

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