summaryrefslogtreecommitdiffstats
path: root/src/panfrost/midgard/disassemble.c
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-11-13 08:48:12 -0500
committerAlyssa Rosenzweig <[email protected]>2019-11-15 18:37:33 +0000
commit339401b53c450710b5719974148de2c087ffb9e1 (patch)
tree99fd791167923fe06633b29f0820dc14e9044ae5 /src/panfrost/midgard/disassemble.c
parent8344d7425b0cad4c6bb327718097036170799f14 (diff)
pan/midgard: Disassemble with old pipeline always on T720
Signed-off-by: Alyssa Rosenzweig <[email protected]> Reviewed-by: Tomeu Vizoso <[email protected]> Tested-by: Andre Heider <[email protected]>
Diffstat (limited to 'src/panfrost/midgard/disassemble.c')
-rw-r--r--src/panfrost/midgard/disassemble.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/panfrost/midgard/disassemble.c b/src/panfrost/midgard/disassemble.c
index 0be240aa14b..94a8166674b 100644
--- a/src/panfrost/midgard/disassemble.c
+++ b/src/panfrost/midgard/disassemble.c
@@ -1514,8 +1514,8 @@ disassemble_midgard(uint8_t *code, size_t size, unsigned gpu_id, gl_shader_stage
switch (midgard_word_types[tag]) {
case midgard_word_type_texture: {
- /* Vertex texturing uses ldst/work space on older Midgard */
- bool has_texture_pipeline = (stage == MESA_SHADER_FRAGMENT) && gpu_id >= 0x750;
+ /* Texturing uses ldst/work space on T720 */
+ bool has_texture_pipeline = gpu_id != 0x0720;
print_texture_word(&words[i], tabs,
has_texture_pipeline ? REG_TEX_BASE : 0,
has_texture_pipeline ? REG_TEX_BASE : REGISTER_LDST_BASE);