mesa/src/imagination
Leon Perianu bff723e50c
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
pvr: pvr_pds_fragment_program_create fix allocation callback usage
The staging buffer is persistent until the destruction of the pvr_pipeline
object, so we should set the allocation scope to PVR_ALLOC_SCOPE_OBJECT instead
of PVR_ALLOC_SCOPE_COMMAND.

Also did the same change in the function pvr_pds_coeff_program_create_and_upload
for the staging buffer, because that buffer is also destroyed at pipeline destruction.

Fixes dEQP-VK.api.object_management.single_alloc_callbacks.graphics_pipeline.

Signed-off-by: Leon Perianu <leon.perianu@imgtec.com>
Reviewed-by: Karmjit Mahil <karmjit.mahil@igalia.com>
Tested-by: Icenowy Zheng <uwu@icenowy.me>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38662>
2025-11-27 13:18:31 +00:00
..
common pvr: store has_pbe_stride_align_1pixel in pvr_device_features 2025-11-17 16:04:31 +00:00
csbgen pvr: store has_pbe_stride_align_1pixel in pvr_device_features 2025-11-17 16:04:31 +00:00
include pvr: move non-rogue helpers to pvr_hw_utils.h 2025-11-11 10:13:14 +01:00
pco nir: rename nir_lower_indirect_derefs -> nir_lower_indirect_derefs_to_if_else_trees 2025-11-20 05:42:11 +00:00
vulkan pvr: pvr_pds_fragment_program_create fix allocation callback usage 2025-11-27 13:18:31 +00:00
.clang-format pvr: remove unused macros 2025-11-11 10:13:11 +01:00
.dir-locals.el
.editorconfig
meson.build pvr: drop legacy rogue compiler 2025-09-16 18:26:10 +00:00