blob: 27deefa22cff09fefb817933d0593e2c62dfe593 [file] [log] [blame]
// flags: --pixel_local_attachments 0=1,1=6,2=3 --pixel_local_attachment_formats 0=R32Uint,1=R32Sint,2=R32Float
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);
}