summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-03-05 07:46:00 -0500
committerMarge Bot <[email protected]>2020-03-05 14:35:38 +0000
commit546c301ff6d12cad678b6feb1c83cf75eb36def1 (patch)
treee417ffb7afd95bdc3224fcdd37abb31ad1cac084 /src
parent47451bb9f1c610dc62629d829c378034df83bf57 (diff)
pan/bi: Add CSEL condition
Along with src_types, this is enough to represent CSEL. Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4061>
Diffstat (limited to 'src')
-rw-r--r--src/panfrost/bifrost/compiler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/panfrost/bifrost/compiler.h b/src/panfrost/bifrost/compiler.h
index 5da5b6d20a4..4d9ab0789b8 100644
--- a/src/panfrost/bifrost/compiler.h
+++ b/src/panfrost/bifrost/compiler.h
@@ -234,6 +234,10 @@ typedef struct {
struct bi_load load;
struct bi_load_vary load_vary;
struct bi_branch branch;
+
+ /* For CSEL, the comparison op. BI_COND_ALWAYS doesn't make
+ * sense here but you can always just use a move for that */
+ enum bi_cond csel_cond;
};
} bi_instruction;