commit | 3e405afeb9c1cb1182f83e2a1fd6f0beb199df64 | [log] [tgz] |
---|---|---|
author | Icecream95 <ixn@disroot.org> | Thu Oct 14 16:38:38 2021 +1300 |
committer | Marge Bot <emma+marge@anholt.net> | Mon Mar 14 16:33:40 2022 +0000 |
tree | f2d67e8677cc2de4d59fd3cbe2a74c3eb5ab7dc8 | |
parent | b003a101ee36edf72c41341dd09bea3d6aa40ea8 [diff] |
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: 53ef20f08d4 ("panfrost: Handle NULL sampler views") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15366>