mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-03 13:11:34 +00:00
The original problem appears to be fixed. Fixed: tint:219 Change-Id: I8d16fbb715da3ca149769699c86f86a4bed85b4f Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/57703 Auto-Submit: Ben Clayton <bclayton@google.com> Reviewed-by: Antonio Maiorano <amaiorano@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
16 lines
261 B
WebGPU Shading Language
16 lines
261 B
WebGPU Shading Language
fn x_200(x_201 : ptr<function, vec2<f32>>) -> f32 {
|
|
let x_212 : f32 = (*(x_201)).x;
|
|
return x_212;
|
|
}
|
|
|
|
fn main_1() {
|
|
var x_11 : vec2<f32>;
|
|
let x_12 : f32 = x_200(&(x_11));
|
|
return;
|
|
}
|
|
|
|
[[stage(compute), workgroup_size(1, 1, 1)]]
|
|
fn main() {
|
|
main_1();
|
|
}
|