dawn-cmake/test/tint/builtins/gen/literal/reflect/05357e.wgsl.expected.wgsl

20 lines
320 B
WebGPU Shading Language
Raw Permalink Normal View History

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