Просмотр исходного кода

Merge pull request #95 from SergioAlapontARM/FSR_mediump_optimization

Use mediump output color, 16b arithmetic 8% -> 97%
Panagiotis Christopoulos Charitos 3 лет назад
Родитель
Сommit
121384dc1e
1 измененных файлов с 1 добавлено и 1 удалено
  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 ANKI_RP Vec3 out_color;
 #endif
 
 layout(push_constant, std430) uniform b_pc