Skip to content
Snippets Groups Projects
Commit 3e405afe authored by Icecream95's avatar Icecream95 Committed by Marge Bot
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>
parent b003a101
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