dawn-cmake/test/tint/builtins/gen/extractBits/ce81f8.wgsl.expected.wgsl

20 lines
333 B
WebGPU Shading Language
Raw Normal View History

fn extractBits_ce81f8() {
var res : u32 = extractBits(1u, 1u, 1u);
}
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
extractBits_ce81f8();
return vec4<f32>();
}
@stage(fragment)
fn fragment_main() {
extractBits_ce81f8();
}
@stage(compute) @workgroup_size(1)
fn compute_main() {
extractBits_ce81f8();
}