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

10 lines
184 B
WebGPU Shading Language
Raw Permalink Normal View History

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