dawn-cmake/test/tint/shader_io/fragment_output_builtins.wgsl

10 lines
149 B
WebGPU Shading Language

@stage(fragment)
fn main1() -> @builtin(frag_depth) f32 {
return 1.0;
}
@stage(fragment)
fn main2() -> @builtin(sample_mask) u32 {
return 1u;
}