[[group(1), binding(0)]] var arg_0 : [[access(read)]] texture_storage_1d<rgba32uint>;

fn textureLoad_276a2c() {
  var res : vec4<u32> = textureLoad(arg_0, 1);
}

[[stage(vertex)]]
fn vertex_main() {
  textureLoad_276a2c();
}

[[stage(fragment)]]
fn fragment_main() {
  textureLoad_276a2c();
}

[[stage(compute)]]
fn compute_main() {
  textureLoad_276a2c();
}
