dawn-cmake/test/tint/bug/tint/1086.wgsl.expected.wgsl

15 lines
121 B
WebGPU Shading Language
Raw Normal View History

var<private> v : f32;
fn x(p : ptr<private, f32>) {
*(p) = 0.0;
}
fn g() {
x(&(v));
}
@fragment
fn f() {
g();
}