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

10 lines
136 B
HLSL

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