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

11 lines
148 B
HLSL

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