#version 310 es
precision highp float;
precision highp int;

layout(binding = 0, rgba8) uniform highp writeonly image2D arg_0;
void textureStore_c9d780() {
  imageStore(arg_0, ivec2(uvec2(1u, 0u)), vec4(1.0f).zyxw);
}
void main() {
  textureStore_c9d780();
}
#version 310 es

layout(binding = 0, rgba8) uniform highp writeonly image2D arg_0;
void textureStore_c9d780() {
  imageStore(arg_0, ivec2(uvec2(1u, 0u)), vec4(1.0f).zyxw);
}
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void main() {
  textureStore_c9d780();
}
