Skip to content
Snippets Groups Projects
Commit 2864094f authored by Icecream95's avatar Icecream95 Committed by Marge Bot
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: #6219
Fixes: eb1479bd ("pan/bi: Support message preloading")
Part-of: <!16255>
parent 4a2ff9eb
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