pan/midgard: Disassemble with old pipeline always on T720

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Tested-by: Andre Heider <a.heider@gmail.com>
This commit is contained in:
Alyssa Rosenzweig 2019-11-13 08:48:12 -05:00
parent 8344d7425b
commit 339401b53c

View file

@ -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);