dawn-cmake/test/tint/extensions/parsing/basic.wgsl

8 lines
141 B
WebGPU Shading Language
Raw Permalink Normal View History

// Enable a void internal extension
enable f16;
@fragment
fn main() -> @location(0) vec4<f32> {
return vec4<f32>(0.1, 0.2, 0.3, 0.4);
}