dawn-cmake/test/tint/bug/tint/292.wgsl

7 lines
169 B
WebGPU Shading Language

@vertex
fn main() -> @builtin(position) vec4<f32> {
var light : vec3<f32> = vec3<f32>(1.2, 1., 2.);
var negative_light : vec3<f32> = -light;
return vec4<f32>();
}