Skip to content
Snippets Groups Projects
Commit 180398f7 authored by Timothy Arceri's avatar Timothy Arceri Committed by Marge Bot
Browse files

nir: fix sorting before assigning varying driver locations

We need to make sure we also properly sort varyings sharing a single
slot otherwise we can end up assigning earlier components to the next
slot if we have already processed later components.

Closes: mesa/mesa#6392



Fixes: 1e93b0ca ("mesa/st: add support for NIR as possible driver IR")

Reviewed-by: Emma Anholt's avatarEmma Anholt <emma@anholt.net>
Part-of: <mesa/mesa!16208>
parent 067023dc
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