blob: d91e3b778876f5d6d7610868af0360ddb361f69f [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 {
@builtin(position) pos : vec4f,
}
@fragment fn f(in : In) {
P.a += u32(in.pos.x);
}