Prechádzať zdrojové kódy

Use ANKI_RP instead of mediump directly for consistency

Sergio Alapont 3 rokov pred
rodič
commit
e6e5d566a5
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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(set = 0, binding = 2) writeonly uniform ANKI_RP image2D u_outImg;
 layout(local_size_x = 8, local_size_y = 8) in;
 layout(local_size_x = 8, local_size_y = 8) in;
 #else
 #else
-layout(location = 0) out mediump Vec3 out_color;
+layout(location = 0) out ANKI_RP Vec3 out_color;
 #endif
 #endif
 
 
 layout(push_constant, std430) uniform b_pc
 layout(push_constant, std430) uniform b_pc