#version 460
precision highp float;
precision highp int;

layout(binding = 0, rg32f) uniform highp image2D arg_0;
void textureStore_635584() {
  uint arg_1 = 1u;
  vec4 arg_2 = vec4(1.0f);
  vec4 v = arg_2;
  imageStore(arg_0, ivec2(uvec2(arg_1, 0u)), v);
}
void main() {
  textureStore_635584();
}
#version 460

layout(binding = 0, rg32f) uniform highp image2D arg_0;
void textureStore_635584() {
  uint arg_1 = 1u;
  vec4 arg_2 = vec4(1.0f);
  vec4 v = arg_2;
  imageStore(arg_0, ivec2(uvec2(arg_1, 0u)), v);
}
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void main() {
  textureStore_635584();
}
