@group(1) @binding(0) var arg_0 : texture_storage_1d<rgba8unorm, write>;

fn textureStore_e7c6d8() {
  textureStore(arg_0, 1u, vec4<f32>(1.0f));
}

@fragment
fn fragment_main() {
  textureStore_e7c6d8();
}

@compute @workgroup_size(1)
fn compute_main() {
  textureStore_e7c6d8();
}
