dawn-cmake/test/tint/builtins/gen/literal/faceForward/2c4d14.wgsl.expected.wgsl

20 lines
327 B
WebGPU Shading Language
Raw Normal View History

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