mesa/src/vulkan/runtime
Jason Ekstrand e0ffdc8ce0 vulkan/queue: Rework submit thread enabling
Now that we have a threading mode in the device, we can set that based
on the environment variable instead of delaying it to submit time.  This
allows us to avoid the static variable trickery we use to avoid reading
environment variables over and over again.  We also move the enabling of
the submit thread up a level or two and give it a bit more obvious
condition.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15566>
2022-03-30 23:17:56 +00:00
..
meson.build vulkan/runtime: Add vk_cmd_queue.h to idep_vulkan_runtime_headers 2022-03-24 19:43:02 +00:00
vk_android.c radv: Move QueueSignalReleaseImageANDROID to common code 2022-01-05 16:36:10 +00:00
vk_cmd_copy.c
vk_cmd_enqueue.c vulkan/cmd_queue: Fix the allocation scope 2022-03-18 17:29:16 +00:00
vk_command_buffer.c vulkan/runtime: Add emulated secondary command buffer support 2022-03-18 17:29:16 +00:00
vk_command_buffer.h vulkan: Add a common CmdBegin/EndRederPass implementation 2022-03-16 12:51:15 -05:00
vk_command_pool.c vulkan: Implement of a bunch of VkCommandPool functions 2022-02-11 08:06:25 +00:00
vk_command_pool.h vulkan: Implement of a bunch of VkCommandPool functions 2022-02-11 08:06:25 +00:00
vk_debug_report.c
vk_debug_report.h
vk_debug_utils.c
vk_debug_utils.h
vk_deferred_operation.c
vk_deferred_operation.h
vk_descriptors.c
vk_descriptors.h
vk_device.c vulkan/queue: Rework submit thread enabling 2022-03-30 23:17:56 +00:00
vk_device.h vulkan/queue: Add a submit mode enum 2022-03-30 23:17:56 +00:00
vk_drm_syncobj.c vulkan: fix typo 2022-01-13 04:01:44 +00:00
vk_drm_syncobj.h vulkan,anv: Auto-detect syncobj features 2021-11-16 10:54:27 -06:00
vk_fence.c vulkan: Add common implementations of vkQueueSubmit and vkQueueWaitIdle 2021-11-16 10:54:27 -06:00
vk_fence.h vulkan: Add a common implementation of VkFence 2021-11-16 10:02:08 -06:00
vk_framebuffer.c vulkan/framebuffer: Add a flags field 2022-03-16 12:51:15 -05:00
vk_framebuffer.h vulkan/framebuffer: Add a flags field 2022-03-16 12:51:15 -05:00
vk_image.c vulkan: Add back vk_image_view::format 2022-02-16 00:14:50 +00:00
vk_image.h vulkan/image: Make MSVC C++ compiler happy 2022-03-25 16:21:45 +00:00
vk_instance.c vulkan/runtime: Validate instance version on 1.0 implementations 2021-12-20 16:45:55 +00:00
vk_instance.h
vk_log.c vulkan: Fix leak of error messages 2022-01-27 23:47:46 +00:00
vk_log.h vulkan/util: Add extern "C" to allow inclusion from c++ 2022-02-04 10:16:42 +00:00
vk_nir.c vulkan: Add a vk_shader_module_to_nir() helper 2022-03-15 23:13:16 +00:00
vk_nir.h vulkan: Add a vk_shader_module_to_nir() helper 2022-03-15 23:13:16 +00:00
vk_object.c
vk_object.h
vk_physical_device.c vulkan: move EXT_tooling_info implementation to runtime 2022-03-23 09:51:57 +00:00
vk_physical_device.h vulkan: Add a common implementation of VkFence 2021-11-16 10:02:08 -06:00
vk_physical_device_features.py
vk_queue.c vulkan/queue: Rework submit thread enabling 2022-03-30 23:17:56 +00:00
vk_queue.h vulkan/queue: Add a submit mode enum 2022-03-30 23:17:56 +00:00
vk_render_pass.c vulkan: Add more VU comments to justify framebuffer asserts 2022-03-30 20:43:12 +00:00
vk_render_pass.h vulkan/render_pass: Add an optimization for UNDEFINED+LOAD_OP_CLEAR 2022-03-16 12:51:15 -05:00
vk_semaphore.c vulkan: Add common implementations of vkQueueSubmit and vkQueueWaitIdle 2021-11-16 10:54:27 -06:00
vk_semaphore.h vulkan: Add a common implementation of VkSemaphore 2021-11-16 10:54:27 -06:00
vk_shader_module.c vulkan: Add a vk_shader_module_to_nir() helper 2022-03-15 23:13:16 +00:00
vk_shader_module.h vulkan: Add a vk_shader_module_to_nir() helper 2022-03-15 23:13:16 +00:00
vk_sync.c vulkan/sync: Rework asserts a bit 2021-11-17 16:52:29 +00:00
vk_sync.h vulkan: fix typo 2022-01-13 04:01:44 +00:00
vk_sync_binary.c vulkan: Add an emulated binary vk_sync type 2021-11-16 10:54:27 -06:00
vk_sync_binary.h vulkan: Add an emulated binary vk_sync type 2021-11-16 10:54:27 -06:00
vk_sync_dummy.c vulkan: Add a dummy sync type 2021-11-16 10:54:27 -06:00
vk_sync_dummy.h vulkan: Add a dummy sync type 2021-11-16 10:54:27 -06:00
vk_sync_timeline.c vulkan: Add an emulated timeline sync type 2021-11-16 10:02:08 -06:00
vk_sync_timeline.h vulkan: Add an emulated timeline sync type 2021-11-16 10:02:08 -06:00
vk_synchronization2.c vk/sync: add asserts for timeline semaphore count matching 2022-02-08 04:09:13 +00:00