From: Alyssa Rosenzweig Date: Wed, 13 Nov 2019 13:48:12 +0000 (-0500) Subject: pan/midgard: Disassemble with old pipeline always on T720 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=339401b53c450710b5719974148de2c087ffb9e1;p=mesa.git pan/midgard: Disassemble with old pipeline always on T720 Signed-off-by: Alyssa Rosenzweig Reviewed-by: Tomeu Vizoso Tested-by: Andre Heider --- 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);