Skip to content
Snippets Groups Projects
Commit 4046230c authored by Icecream95's avatar Icecream95 Committed by Dylan Baker
Browse files

pan/bi: Use texture index instead of sampler for message preloading

The VAR_TEX definition in ISA.xml only has a field for texture_index,
so trying to read sampler_index will return zero; read from
texture_index instead, and rename other fields for consistency.

The texture and sampler indices must be equal for VAR_TEX to be used,
so either name could be used for the field.

Fixes the wrong textures being used in Thief.

Closes: mesa/mesa#6219
Fixes: eb1479bd ("pan/bi: Support message preloading")
Part-of: <mesa/mesa!16255>
(cherry picked from commit 2864094f)
parent 01345ad5
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment