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

12 lines
164 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;
}