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

layout(binding = 0, rgba8) uniform highp writeonly image2D tex;
void fragment_main() {
  vec4 value = vec4(1.0f, 2.0f, 3.0f, 4.0f);
  imageStore(tex, ivec2(9, 8), value.bgra);
}

void main() {
  fragment_main();
  return;
}
