Browse Source

- Use mediump output color, without this the compiler will upgrade arithmetic to highp

Sergio Alapont 3 years ago
parent
commit
762e4b74b5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      AnKi/Shaders/Fsr.glsl

+ 1 - 1
AnKi/Shaders/Fsr.glsl

@@ -14,7 +14,7 @@ layout(set = 0, binding = 1) uniform ANKI_RP texture2D u_tex;
 layout(set = 0, binding = 2) writeonly uniform ANKI_RP image2D u_outImg;
 layout(local_size_x = 8, local_size_y = 8) in;
 #else
-layout(location = 0) out Vec3 out_color;
+layout(location = 0) out mediump Vec3 out_color;
 #endif
 
 layout(push_constant, std430) uniform b_pc