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

layout(binding = 0, rgba32ui) uniform highp writeonly uimage2DArray arg_0;
void textureStore_8e0479() {
  imageStore(arg_0, ivec3(ivec2(1), int(1)), uvec4(1u));
}
void main() {
  textureStore_8e0479();
}
#version 310 es

layout(binding = 0, rgba32ui) uniform highp writeonly uimage2DArray arg_0;
void textureStore_8e0479() {
  imageStore(arg_0, ivec3(ivec2(1), int(1)), uvec4(1u));
}
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void main() {
  textureStore_8e0479();
}
