mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-16 19:43:31 +00:00
Fixed: tint:730 Change-Id: I7d5ebeffe2d522182d07f554a671bebab1cce2e6 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/54420 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: James Price <jrprice@google.com>
7 lines
182 B
WebGPU Shading Language
7 lines
182 B
WebGPU Shading Language
[[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>();
|
|
}
|