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

11 lines
150 B
HLSL
Raw Normal View History

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