summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-06-20 04:06:53 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:38 +0200
commit1c648f176c0f929266795181d1ba16d27008e5ff (patch)
treea4ad0120f561c6a8130bc94496973140a904c08c
parentshader: Calibrate loop safety threshold (diff)
downloadyuzu-1c648f176c0f929266795181d1ba16d27008e5ff.tar
yuzu-1c648f176c0f929266795181d1ba16d27008e5ff.tar.gz
yuzu-1c648f176c0f929266795181d1ba16d27008e5ff.tar.bz2
yuzu-1c648f176c0f929266795181d1ba16d27008e5ff.tar.lz
yuzu-1c648f176c0f929266795181d1ba16d27008e5ff.tar.xz
yuzu-1c648f176c0f929266795181d1ba16d27008e5ff.tar.zst
yuzu-1c648f176c0f929266795181d1ba16d27008e5ff.zip
-rw-r--r--src/shader_recompiler/backend/glsl/emit_glsl_special.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_special.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_special.cpp
index 2a15fc29a..92aa1b168 100644
--- a/src/shader_recompiler/backend/glsl/emit_glsl_special.cpp
+++ b/src/shader_recompiler/backend/glsl/emit_glsl_special.cpp
@@ -94,7 +94,7 @@ void EmitPrologue(EmitContext& ctx) {
InitializeOutputVaryings(ctx);
if (ctx.stage == Stage::Fragment && ctx.profile.need_declared_frag_colors) {
- for (size_t index = 0; index < ctx.info.stores_frag_color.size(); ++index) {
+ for (size_t index = 1; index < ctx.info.stores_frag_color.size(); ++index) {
if (ctx.info.stores_frag_color[index]) {
continue;
}