From 339401b53c450710b5719974148de2c087ffb9e1 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Wed, 13 Nov 2019 08:48:12 -0500 Subject: [PATCH] pan/midgard: Disassemble with old pipeline always on T720 Signed-off-by: Alyssa Rosenzweig Reviewed-by: Tomeu Vizoso Tested-by: Andre Heider --- src/panfrost/midgard/disassemble.c | 4 ++-- 1 file 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); -- 2.30.2