dawn-cmake/test/tint/expressions/bitcast/scalar/f32-i32.wgsl.expected.dxc.hlsl

7 lines
95 B
HLSL

[numthreads(1, 1, 1)]
void f() {
const float a = 1.0f;
const int b = asint(a);
return;
}