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

7 lines
176 B
WebGPU Shading Language
Raw Normal View History

@stage(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>();
}