mesa/src/panfrost/vulkan
Boris Brezillon 915a41f55a panvk: Fix TLS initialization for multi-draw batches
If we queue multiple draws to the same batch, the TLS size should be
adjusted to cover the maximum TLS size requirement, not just the one
of the pipeline bound when the batch is closed. This requires keeping
TLS info attached to the batch and updating it every time a draw is
issued.

While at it, get rid of the wg_count state: we'll let vkCmdDispatch()
calculate the total WLS size.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13077>
2021-09-28 14:03:40 +00:00
..
meson.build panvk: Move blit/resolve stubs to a separate file 2021-09-21 15:00:28 +02:00
panvk_cmd_buffer.c panvk: Fix TLS initialization for multi-draw batches 2021-09-28 14:03:40 +00:00
panvk_cs.c panvk: Prepare per-gen split 2021-08-26 10:35:17 +02:00
panvk_cs.h panvk: Prepare per-gen split 2021-08-26 10:35:17 +02:00
panvk_descriptor_set.c panvk: Prepare per-gen split 2021-08-26 10:35:17 +02:00
panvk_device.c panvk: Disable the BO cache 2021-09-10 11:42:21 +02:00
panvk_formats.c panvk: Don't advertise min/max filter 2021-09-10 11:40:48 +02:00
panvk_image.c panvk: Prepare per-gen split 2021-08-26 10:35:17 +02:00
panvk_mempool.c panvk: Fix a BO leak in panvk_pool_alloc_backing() 2021-09-10 11:41:54 +02:00
panvk_mempool.h panvk: Support returning BOs allocated by panvk_pool to a 'free BO' pool 2021-07-05 05:43:49 +00:00
panvk_pass.c panvk: Preload FB attachments when required 2021-09-21 15:00:07 +02:00
panvk_pipeline.c panvk: Prepare per-gen split 2021-08-26 10:35:17 +02:00
panvk_pipeline_cache.c
panvk_private.h panvk: Fix TLS initialization for multi-draw batches 2021-09-28 14:03:40 +00:00
panvk_query.c
panvk_shader.c panvk: Prepare per-gen split 2021-08-26 10:35:17 +02:00
panvk_sync.c
panvk_util.c
panvk_varyings.h panvk: Prepare per-gen split 2021-08-26 10:35:17 +02:00
panvk_vX_cmd_buffer.c panvk: Fix TLS initialization for multi-draw batches 2021-09-28 14:03:40 +00:00
panvk_vX_cmd_buffer.h panvk: Add a panvk_cmd_prepare_tiler_context() helper 2021-09-21 15:00:55 +02:00
panvk_vX_cs.c panvk: Get rid of panvk_emit_fragment_job() 2021-09-21 15:00:33 +02:00
panvk_vX_cs.h panvk: Get rid of panvk_emit_fragment_job() 2021-09-21 15:00:33 +02:00
panvk_vX_descriptor_set.c panvk: Prepare per-gen split 2021-08-26 10:35:17 +02:00
panvk_vX_device.c panvk: Merge identical BO entries before submitting a job 2021-09-21 15:00:12 +02:00
panvk_vX_image.c panfrost: Prepare texture helpers to per-gen XML 2021-09-20 15:18:56 +02:00
panvk_vX_meta.c panvk: Implement vkCmdCopyImage() 2021-09-21 15:01:15 +02:00
panvk_vX_meta.h panvk: Implement vkCmdCopyImage() 2021-09-21 15:01:15 +02:00
panvk_vX_meta_blit.c panvk: Implement vkCmdBlitImage() 2021-09-27 07:45:41 +00:00
panvk_vX_meta_clear.c panvk: Implement vkCmdClear{DepthStencil,Color}Image() 2021-09-21 15:01:10 +02:00
panvk_vX_meta_copy.c panvk: Implement vkCmdUpdateBuffer() 2021-09-21 15:01:42 +02:00
panvk_vX_pipeline.c panvk: Fix the static scissor/viewport case 2021-09-28 14:03:40 +00:00
panvk_vX_shader.c panfrost: Prepare shader helpers to per-gen XML 2021-09-20 15:18:56 +02:00
panvk_wsi.c
panvk_wsi_display.c
panvk_wsi_wayland.c