dawn-cmake/test/bug/tint/219.spvasm.expected.wgsl
Ben Clayton f6a4fe073a Add test case for tint:219
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>
2021-07-13 16:41:56 +00:00

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