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

layout(binding = 0, rgba16f) uniform highp writeonly image3D arg_0;
void textureStore_8b9310() {
  imageStore(arg_0, ivec3(uvec3(1u)), vec4(1.0f));
}
void main() {
  textureStore_8b9310();
}
#version 310 es

layout(binding = 0, rgba16f) uniform highp writeonly image3D arg_0;
void textureStore_8b9310() {
  imageStore(arg_0, ivec3(uvec3(1u)), vec4(1.0f));
}
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void main() {
  textureStore_8b9310();
}
