mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
pvr: Fix typo causing seg faults copying immutable samplers
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>
This commit is contained in:
parent
1021e2b946
commit
817be4b860
1 changed files with 1 additions and 1 deletions
|
|
@ -541,7 +541,7 @@ VkResult pvr_CreateDescriptorSetLayout(
|
|||
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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue