diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-08-13 08:51:40 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-08-14 16:57:24 -0700 |
commit | ec2f0b580ff030112214cf2fc83d08927f1b1fb7 (patch) | |
tree | 3f3e96436ebd2be62cdce8fa5ff8d23113d08702 /src/panfrost/midgard/disassemble.c | |
parent | 375d4c2c74d5a7003e03c4e610b466bd0d7d1a53 (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/disassemble.c')
-rw-r--r-- | src/panfrost/midgard/disassemble.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/panfrost/midgard/disassemble.c b/src/panfrost/midgard/disassemble.c index 28f0b40e476..1c061eb6df7 100644 --- a/src/panfrost/midgard/disassemble.c +++ b/src/panfrost/midgard/disassemble.c @@ -1034,8 +1034,8 @@ print_load_store_instr(uint64_t data, int address = word->address; - if (word->op == midgard_op_ld_uniform_32) { - /* Uniforms use their own addressing scheme */ + if (OP_IS_UBO_READ(word->op)) { + /* UBOs use their own addressing scheme */ int lo = word->varying_parameters >> 7; int hi = word->address; |