mesa/src/broadcom/vulkan
Iago Toral Quiroga 7d6609e70d v3dv: fix occlusion query inheritance in secondary command buffers
If a secondary command buffer has occlusion query inheritance then
draw calls recorded in it should update an active occlusion query
counter started in the primary command buffer.

If executing the secondary in a primary required to emit jobs and
not just a branch instruction, then we might need to create a new
job for the primary as well, and in that case we would lose the
occlusion query state, so we need to re-emit it at that point so
any additional draw calls recorded into the secondary that is being
executed continue to update the counter.

Fixes:
dEQP-VK.query_pool.concurrent_queries.secondary_command_buffer

Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7373>
2020-11-02 12:02:17 +01:00
..
.dir-locals.el
.editorconfig
meson.build v3dv: add v3dv_limits file 2020-10-13 21:21:32 +00:00
v3d_tiling.c v3dv: implement vkCreateImage 2020-10-13 21:21:25 +00:00
v3dv_bo.c v3dv: Initialize time before usage by free_stale_bos. 2020-10-16 22:34:22 +00:00
v3dv_bo.h v3dv: don't leak dumb BO handles allocated for swapchain images 2020-10-13 21:21:33 +00:00
v3dv_cl.c v3dv/bo: adding a BO cache 2020-10-13 21:21:31 +00:00
v3dv_cl.h v3dv/descriptor: use descriptor pool bo for image/samplers 2020-10-13 21:21:30 +00:00
v3dv_cmd_buffer.c v3dv: fix occlusion query inheritance in secondary command buffers 2020-11-02 12:02:17 +01:00
v3dv_debug.c v3dv/debug: add v3dv_debug 2020-10-13 21:21:25 +00:00
v3dv_debug.h v3dv/debug: add v3dv_print_v3d_key 2020-10-13 21:21:33 +00:00
v3dv_descriptor_set.c v3dv: Remove unsigned comparison to zero. 2020-10-16 15:25:37 -07:00
v3dv_device.c v3dv: add support for timestamp queries 2020-11-02 12:02:17 +01:00
v3dv_entrypoints_gen.py
v3dv_extensions.py v3dv: expose VK_KHR_maintenance1 2020-11-02 09:33:32 +01:00
v3dv_extensions_gen.py
v3dv_formats.c v3dv/format: use XYZ1 swizzle for three-component formats 2020-10-29 11:06:44 +01:00
v3dv_icd.py
v3dv_image.c v3dv: add image view debug checks for VK_KHR_maintenance1 2020-11-02 09:33:32 +01:00
v3dv_limits.h v3dv: add v3dv_limits file 2020-10-13 21:21:32 +00:00
v3dv_meta_clear.c v3dv: always program a reasonable internal depth type for copies/clears 2020-10-13 21:21:33 +00:00
v3dv_meta_copy.c v3dv: update assertion to match VK_KHR_maintenance1 semantics 2020-11-02 09:33:32 +01:00
v3dv_pass.c v3dv: skip unnecessary tile loads when blitting 2020-10-22 08:00:02 +02:00
v3dv_pipeline.c v3dv: properly describe swap_color_rb 2020-10-23 09:19:02 +02:00
v3dv_pipeline_cache.c v3dv/pipeline_cache: set a max size for the pipeline cache 2020-10-13 21:21:33 +00:00
v3dv_private.h v3dv: fix occlusion query inheritance in secondary command buffers 2020-11-02 12:02:17 +01:00
v3dv_query.c v3dv: add support for timestamp queries 2020-11-02 12:02:17 +01:00
v3dv_queue.c v3dv: add support for timestamp queries 2020-11-02 12:02:17 +01:00
v3dv_uniforms.c broadcom/compiler: rename QUNIFORM_GET_BUFFER_SIZE to QUNIFORM_GET_SSBO_SIZE 2020-10-13 21:21:33 +00:00
v3dv_util.c
v3dv_wsi.c v3dv: signal semaphore/fence if needed after acquiring a swapchain image 2020-10-13 21:21:33 +00:00
v3dv_wsi_x11.c v3dv: hook up WSI support 2020-10-13 21:21:26 +00:00
vk_format_info.h v3dv: fix blitting of signed integer formats 2020-10-13 21:21:32 +00:00