dawn-cmake/test/tint/expressions/index/let/param/vector.wgsl.expected.dxc.hlsl

10 lines
142 B
HLSL

[numthreads(1, 1, 1)]
void unused_entry_point() {
return;
}
float f(int i) {
const float3 v = float3(1.0f, 2.0f, 3.0f);
return v[i];
}