mesa/src/broadcom
Alejandro Piñeiro f017beb29c v3dv/pipeline: ensure vk_graphics_pipeline_all_state alive when still needed
Right now we have a statically allocated vk_graphics_pipeline_state,
that we declare at pipeline_init, and fill at
pipeline_init_dynamic_state. This one can be static as right now it is
only needed during pipeline_init lifetime.

But to fill it, we need a vk_graphics_pipeline_all_state structure,
that right now we declare at pipeline_init_dynamic_state. But that one
become part of that vk_graphics_pipeline_state, so still needed at
pipeline_init.

This was detected when trying to refactor the code to use the
pipeline_state later on, but it raises an "invalid read" error using
valgrind with the current code. It is surprising that didn't cause any
problem.

Fixes: f2236065b7 ("v3dv: port dynamic state tracking to use Mesa Vulkan")
Cc: mesa-stable

Reviewed-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Reviewed-by: Jose Maria Casanova Crespo <jmcasanova@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29603>
2024-06-10 13:47:50 +00:00
..
ci broadcom/ci: update expected results 2024-06-05 16:55:46 +00:00
cle broadcom/cle: fix up shader record for V3D 7.1.10 / 2712D0 2024-05-15 13:57:10 +00:00
clif broadcom: only support v42 and v71 2023-11-02 11:59:08 +01:00
common broadcom: move HW-dependant constants to v3d_device_info 2024-06-05 17:14:59 +00:00
compiler broadcom/compiler: handle load_workgroup_size 2024-06-06 12:01:00 +00:00
drm-shim v3d/drm-shim: emulate a rpi4 instead of a rpi3 2024-06-07 20:28:44 +00:00
qpu broadcom/compiler: add new SFU instructions in V3D 7.x 2024-01-31 10:06:06 +00:00
simulator broadcom: fix issue of ‘addr’ is used uninitialized 2024-05-30 20:40:26 +00:00
vulkan v3dv/pipeline: ensure vk_graphics_pipeline_all_state alive when still needed 2024-06-10 13:47:50 +00:00
.editorconfig
meson.build broadcom/common: Now "util/box.h" is under src, so remove the FIXME 2024-04-22 15:01:34 +00:00