Fixes seg faults in:
dEQP-VK.binding_model.shader_access.primary_cmd_buf
.sampler_immutable.no_access.single_descriptor.*
dEQP-VK.binding_model.shader_access.primary_cmd_buf
.sampler_immutable.no_access.multiple_contiguous_descriptors.*
It does not fix them. Now they just hit asserts in the compiler.
Signed-off-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23357>
for (uint32_t j = 0; j < binding->descriptorCount; j++) {
PVR_FROM_HANDLE(pvr_sampler,
sampler,
- bindings->pImmutableSamplers[j]);
+ binding->pImmutableSamplers[j]);
const uint32_t next = j + layout->immutable_sampler_count;
layout->immutable_samplers[next] = sampler;