dawn-cmake/test/expressions/index/var/literal/array.wgsl.expected.hlsl

10 lines
129 B
HLSL

[numthreads(1, 1, 1)]
void unused_entry_point() {
return;
}
int f() {
int a[8] = {1, 2, 3, 4, 5, 6, 7, 8};
return a[1];
}