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

10 lines
142 B
HLSL
Raw Normal View History

[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];
}