pan/bi: Encode skip bit into IR
Currently unset.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7081>
diff --git a/src/panfrost/bifrost/compiler.h b/src/panfrost/bifrost/compiler.h
index 43978db..23641b3 100644
--- a/src/panfrost/bifrost/compiler.h
+++ b/src/panfrost/bifrost/compiler.h
@@ -300,6 +300,13 @@
/* For VECTOR ops, how many channels are written? */
unsigned vector_channels;
+ /* For texture ops, the skip bit. Set if helper invocations can skip
+ * the operation. That is, set if the result of this texture operation
+ * is never used for cross-lane operation (including texture
+ * coordinates and derivatives) as determined by data flow analysis
+ * (like Midgard) */
+ bool skip;
+
/* The comparison op. BI_COND_ALWAYS may not be valid. */
enum bi_cond cond;