Skip to content
Snippets Groups Projects
Commit 9552166f authored by Icecream95's avatar Icecream95 Committed by Eric Engestrom
Browse files

panfrost: Don't initialise the trampolines array

PIPE_MAX_SHADER_SAMPLER_VIEWS is 128, so we just end up initialising a
kilobyte of memory for no reason, when usually only a couple of
sampler views are used.

Fixes: 53ef20f0 ("panfrost: Handle NULL sampler views")
Part-of: <mesa/mesa!15366>
(cherry picked from commit 3e405afe)
parent 5ae5b38e
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