blob: 8e3aa2e515183b32120ac9a2a6a8a3d75fd5fd2e [file] [log] [blame]
type RTArr = [[stride(4)]] array<u32>;
[[block]]
struct S {
field0 : u32;
field1 : RTArr;
};
[[group(0), binding(0)]] var<storage, read_write> myvar : S;
fn main_1() {
myvar.field0 = 0u;
myvar.field1[1u] = 0u;
return;
}
[[stage(fragment)]]
fn main() {
main_1();
}