diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-05-23 01:56:03 +0000 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-06-04 20:14:50 +0000 |
commit | 2a79afc5f0a8500194cd6e60ff7ceb14c191c5c7 (patch) | |
tree | ec4a937ed00352a50b27802f75f1efddc5ebe666 /src/gallium/drivers/panfrost/midgard/helpers.h | |
parent | 3c7abbfbe8d031bd8f3248636e94af3c9dbe1a7d (diff) |
panfrost/midgard: Helpers for pipeline
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Reviewed-by: Ryan Houdek <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost/midgard/helpers.h')
-rw-r--r-- | src/gallium/drivers/panfrost/midgard/helpers.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/panfrost/midgard/helpers.h b/src/gallium/drivers/panfrost/midgard/helpers.h index 9adc5b35195..b6ab3c86c97 100644 --- a/src/gallium/drivers/panfrost/midgard/helpers.h +++ b/src/gallium/drivers/panfrost/midgard/helpers.h @@ -112,6 +112,9 @@ quadword_size(int tag) } } +#define IS_ALU(tag) (tag == TAG_ALU_4 || tag == TAG_ALU_8 || \ + tag == TAG_ALU_12 || tag == TAG_ALU_16) + /* Special register aliases */ #define MAX_WORK_REGISTERS 16 |