mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
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:
parent
8344d7425b
commit
339401b53c
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue