Skip to content
Snippets Groups Projects
Commit ee939e73 authored by Matt Turner's avatar Matt Turner Committed by Emil Velikov
Browse files

nir: Don't print swizzles when there are more than 4 components


... as can happen with various types like mat4, or else we'll smash the
stack writing past the end of components_local[].

Fixes: 5a0d3e11 ("nir: Print the components referenced for split or
                      packed shader in/outs.")
Reviewed-by: default avatarJason Ekstrand <jason@jlekstrand.net>
(cherry picked from commit 77a63d19)
parent 7e04e574
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