dawn-cmake/test/tint/expressions/bitcast/scalar/f32-f32.wgsl

6 lines
96 B
WebGPU Shading Language

@compute @workgroup_size(1)
fn f() {
let a : f32 = 1.;
let b : f32 = bitcast<f32>(a);
}