dawn-cmake/test/tint/builtins/gen/literal/log2/a52bbb.wgsl.expected.wgsl

20 lines
270 B
WebGPU Shading Language

fn log2_a52bbb() {
var res = log2(vec4(1.0));
}
@vertex
fn vertex_main() -> @builtin(position) vec4<f32> {
log2_a52bbb();
return vec4<f32>();
}
@fragment
fn fragment_main() {
log2_a52bbb();
}
@compute @workgroup_size(1)
fn compute_main() {
log2_a52bbb();
}