From 546c301ff6d12cad678b6feb1c83cf75eb36def1 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 5 Mar 2020 07:46:00 -0500 Subject: [PATCH] pan/bi: Add CSEL condition Along with src_types, this is enough to represent CSEL. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/bifrost/compiler.h | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.30.2