Skip to content
Commit 8919ea06 authored by Timothy Arceri's avatar Timothy Arceri Committed by Emil Velikov
Browse files

glsl: fix shader cache for packed param list



Some types of params such as some builtins are always padded. We
need to keep track of this so we can restore the list correctly.

Here we also remove a couple of cache entries that are not actually
required as they get rebuilt by the _mesa_add_parameter() calls.

This patch fixes a bunch of arb_texture_multisample and
arb_sample_shading piglit tests for the radeonsi NIR backend.

Fixes: edded123 ("mesa: rework ParameterList to allow packing")

Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
(cherry picked from commit 7536af67)
parent 24db6eec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment