blob: 3d16f931fed2e5db4f7889abf72e2a87775e14fc [file] [log] [blame]
enable chromium_experimental_pixel_local;
struct PixelLocal {
a : u32,
b : i32,
c : f32,
}
var<pixel_local> P : PixelLocal;
struct In {
@location(0)
a : vec4f,
@interpolate(flat) @location(1)
b : vec4f,
}
@fragment
fn f(in : In) {
P.a += (u32(in.a.x) + u32(in.b.y));
}