Skip to content
Snippets Groups Projects
Commit 6d47c3eb authored by Kenneth Graunke's avatar Kenneth Graunke Committed by Emil Velikov
Browse files

glsl: Ignore ir_texture in lower_const_arrays_to_uniforms.


The only part of an ir_texture which can be an array is the
offsets array in textureGatherOffsets() calls.  We don't want
to lower those, because they're required to remain constants.

Fixes textureGatherOffsets with Gallium drivers such as llvmpipe,
which commit ef78df8d regressed.

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
Reviewed-by: default avatarIlia Mirkin <imirkin@alum.mit.edu>
(cherry picked from commit a36a73a7)
parent 7f0984ca
No related branches found
No related tags found
No related merge requests found
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