diff options
author | Alyssa Rosenzweig <[email protected]> | 2020-03-05 07:46:00 -0500 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-03-05 14:35:38 +0000 |
commit | 546c301ff6d12cad678b6feb1c83cf75eb36def1 (patch) | |
tree | e417ffb7afd95bdc3224fcdd37abb31ad1cac084 /src | |
parent | 47451bb9f1c610dc62629d829c378034df83bf57 (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.h | 4 |
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; |