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

10 lines
191 B
WebGPU Shading Language

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