mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-28 10:11:33 +00:00
Change-Id: I774d7e4b6fdf9d1507bd9cbf3be00bd4113e8162 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/51222 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: David Neto <dneto@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
11 lines
283 B
WebGPU Shading Language
11 lines
283 B
WebGPU Shading Language
[[stage(compute)]]
|
|
fn main() {
|
|
var v : vec3<f32> = vec3<f32>(0.0, 0.0, 0.0);
|
|
let x_14 : f32 = v.y;
|
|
let x_16 : vec3<f32> = v;
|
|
let x_17 : vec2<f32> = vec2<f32>(x_16.x, x_16.z);
|
|
let x_18 : vec3<f32> = v;
|
|
let x_19 : vec3<f32> = vec3<f32>(x_18.x, x_18.z, x_18.y);
|
|
return;
|
|
}
|