pan/bi: Don't propagate discard
authorAlyssa Rosenzweig <alyssa@collabora.com>
Thu, 12 May 2022 16:37:00 +0000 (12:37 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 19 May 2022 16:08:26 +0000 (16:08 +0000)
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16585>

src/panfrost/bifrost/compiler.h

index 794c80d..035fe21 100644 (file)
@@ -260,6 +260,7 @@ bi_replace_index(bi_index old, bi_index replacement)
         replacement.abs = old.abs;
         replacement.neg = old.neg;
         replacement.swizzle = old.swizzle;
+        replacement.discard = false; /* needs liveness analysis to set */
         return replacement;
 }