summaryrefslogtreecommitdiffstats
path: root/src/panfrost/midgard/helpers.h
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-08-13 08:51:40 -0700
committerAlyssa Rosenzweig <[email protected]>2019-08-14 16:57:24 -0700
commitec2f0b580ff030112214cf2fc83d08927f1b1fb7 (patch)
tree3f3e96436ebd2be62cdce8fa5ff8d23113d08702 /src/panfrost/midgard/helpers.h
parent375d4c2c74d5a7003e03c4e610b466bd0d7d1a53 (diff)
pan/midgard: Identify UBO/SSBO op symmetry
It's the same thing, just shifted. Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/panfrost/midgard/helpers.h')
-rw-r--r--src/panfrost/midgard/helpers.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/panfrost/midgard/helpers.h b/src/panfrost/midgard/helpers.h
index d7df9ad01a8..afed7d97e2d 100644
--- a/src/panfrost/midgard/helpers.h
+++ b/src/panfrost/midgard/helpers.h
@@ -67,9 +67,11 @@
)
#define OP_IS_UBO_READ(op) ( \
- op == midgard_op_ld_uniform_32 || \
- op == midgard_op_ld_uniform_16 || \
- op == midgard_op_ld_uniform_32i \
+ op == midgard_op_ld_ubo_char || \
+ op == midgard_op_ld_ubo_char2 || \
+ op == midgard_op_ld_ubo_char4 || \
+ op == midgard_op_ld_ubo_short4 || \
+ op == midgard_op_ld_ubo_int4 \
)
#define OP_IS_CSEL(op) ( \