mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-01 09:49:07 +00:00
Fixed: tint:1329 Change-Id: I5fb927268fc9cb8047a2b365d26e813a8546605a Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/75423 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: David Neto <dneto@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
14 lines
182 B
WebGPU Shading Language
14 lines
182 B
WebGPU Shading Language
fn main_1() {
|
|
var a : f32;
|
|
var b : f32;
|
|
a = 42.0;
|
|
let x_11 : f32 = a;
|
|
b = degrees(x_11);
|
|
return;
|
|
}
|
|
|
|
[[stage(compute), workgroup_size(1, 1, 1)]]
|
|
fn main() {
|
|
main_1();
|
|
}
|