From: Icecream95 Date: Fri, 10 Jul 2020 11:28:21 +0000 (+1200) Subject: pan/mdg: Skip z/s combining for dual-source writes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=334dab057651f41203eba0a2595a636e6881d82c;p=mesa.git pan/mdg: Skip z/s combining for dual-source writes Reviewed-by: Alyssa Rosenzweig Part-of: --- diff --git a/src/panfrost/midgard/midgard_compile.c b/src/panfrost/midgard/midgard_compile.c index c62e9a2ad57..d8780dfd60b 100644 --- a/src/panfrost/midgard/midgard_compile.c +++ b/src/panfrost/midgard/midgard_compile.c @@ -337,6 +337,9 @@ midgard_nir_lower_zs_store(nir_shader *nir) var->data.location < FRAG_RESULT_DATA0) continue; + if (var->data.index) + continue; + assert(nir_src_is_const(intr->src[1]) && "no indirect outputs"); nir_builder b;