mesa/src/vulkan/runtime
Faith Ekstrand 42abf00f2b vulkan: Handle VK_IMAGE_VIEW_CREATE_DRIVER_INTERNAL_BIT_MESA automatically
This moves the bit into vk_image.h and handles it automatically in
vk_image_view_init() so drivers don't have to.

This also means that Meta is now hitting the driver_internal path for
all its images so we need to do the same format fixups there that we
sould normally do on the !driver_internal path.  We don't want to do
them unconditionally because v3dv and other drivers override
depth/stencil color formats and we don't want to break that.

Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36957>
2025-09-05 23:34:11 +00:00
..
bvh vulkan/runtime/bvh: Propagate opaqueness information through the BVH 2025-06-28 10:31:37 +00:00
radix_sort vulkan/radix_sort: Fix subgroup invocation id 2025-08-12 18:39:20 +00:00
rmv util/hash_table: don't allocate hash_table_u64::table, declare it statically 2025-08-21 06:13:48 +00:00
meson.build Revert "android: moving HMI symbol to separate file" 2025-08-01 23:44:49 +00:00
vk_acceleration_structure.c vulkan/runtime: use a pipeline flag for unaligned dispatches 2025-08-20 11:17:52 +00:00
vk_acceleration_structure.h vulkan/runtime: Add VK_SHADER_CREATE_UNALIGNED_DISPATCH_BIT_MESA flag 2025-08-12 23:17:02 +00:00
vk_android.c vulkan/android: improve stage masks for semaphore ops 2025-08-26 17:24:09 +00:00
vk_android.h vulkan: #if DETECT_OS_ANDROID --> #if defined(VK_USE_PLATFORM_ANDROID_KHR) 2025-08-22 16:09:38 +00:00
vk_blend.c build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
vk_blend.h
vk_buffer.c vulkan: Add device address helpers to vk_buffer 2025-03-06 09:46:00 +00:00
vk_buffer.h vulkan: Relax bda assert for zero-size buffers 2025-03-12 01:09:54 +00:00
vk_buffer_view.c
vk_buffer_view.h
vk_cmd_copy.c
vk_cmd_enqueue.c build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
vk_command_buffer.c build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
vk_command_buffer.h vulkan: Add MESA_VK_SHADER_STAGE_ALL 2025-08-07 20:46:24 +00:00
vk_command_pool.c vulkan/runtime: return same cmdbuf level from the command pool freelist 2024-11-08 17:20:43 +00:00
vk_command_pool.h vulkan/runtime: return same cmdbuf level from the command pool freelist 2024-11-08 17:20:43 +00:00
vk_debug_report.c
vk_debug_report.h
vk_debug_utils.c vulkan: #if DETECT_OS_ANDROID --> #if defined(VK_USE_PLATFORM_ANDROID_KHR) 2025-08-22 16:09:38 +00:00
vk_debug_utils.h vulkan/runtime: Add object type to DMR API 2025-03-04 15:24:39 +00:00
vk_deferred_operation.c
vk_deferred_operation.h
vk_descriptor_set_layout.c vulkan/runtime: store flags on descriptor set layouts 2025-02-27 13:26:58 +02:00
vk_descriptor_set_layout.h vulkan: use p_atomic_read on vk_descriptor_set_layout::ref_cnt 2025-08-08 10:26:52 +00:00
vk_descriptor_update_template.c
vk_descriptor_update_template.h
vk_descriptors.c
vk_descriptors.h
vk_device.c vulkan/runtime: silence a -Wsometimes-uninitialized warning 2025-08-26 17:24:08 +00:00
vk_device.h vulkan/drm_syncobj: Add a vk_drm_syncobj_copy_payloads helper 2025-08-22 23:05:00 +00:00
vk_device_generated_commands.c runtime: sort push constant layouts 2025-02-17 18:39:53 +00:00
vk_device_generated_commands.h vk/runtime: add EXT DGC layout handling 2024-09-27 18:41:41 +00:00
vk_device_memory.c vulkan: #if DETECT_OS_ANDROID --> #if defined(VK_USE_PLATFORM_ANDROID_KHR) 2025-08-22 16:09:38 +00:00
vk_device_memory.h
vk_drm_syncobj.c vulkan/drm_syncobj: Add a vk_drm_syncobj_copy_payloads helper 2025-08-22 23:05:00 +00:00
vk_drm_syncobj.h vulkan/drm_syncobj: Add a vk_drm_syncobj_copy_payloads helper 2025-08-22 23:05:00 +00:00
vk_fence.c build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
vk_fence.h
vk_format_info_gen.py build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
vk_framebuffer.c
vk_framebuffer.h
vk_graphics_state.c build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
vk_graphics_state.h build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
vk_image.c vulkan: Handle VK_IMAGE_VIEW_CREATE_DRIVER_INTERNAL_BIT_MESA automatically 2025-09-05 23:34:11 +00:00
vk_image.h vulkan: #if DETECT_OS_ANDROID --> #if defined(VK_USE_PLATFORM_ANDROID_KHR) 2025-08-22 16:09:38 +00:00
vk_instance.c util: Remove the __declspec(dllexport) on win32 for PUBLIC export macro 2025-08-22 02:05:57 +00:00
vk_instance.h vulkan: Add utilities for triggering renderdoc captures 2025-02-28 12:40:43 +01:00
vk_limits.h
vk_log.c build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
vk_log.h
vk_meta.c vulkan: Handle VK_IMAGE_VIEW_CREATE_DRIVER_INTERNAL_BIT_MESA automatically 2025-09-05 23:34:11 +00:00
vk_meta.h vulkan/util: add vk_topology_to_mesa helper function 2025-09-03 22:04:14 -07:00
vk_meta_blit_resolve.c vulkan/meta: Always set VK_IMAGE_VIEW_CREATE_DRIVER_INTERNAL_BIT_MESA 2025-09-05 23:34:11 +00:00
vk_meta_clear.c vulkan/meta: Always set VK_IMAGE_VIEW_CREATE_DRIVER_INTERNAL_BIT_MESA 2025-09-05 23:34:11 +00:00
vk_meta_copy_fill_update.c build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
vk_meta_draw_rects.c
vk_meta_object_list.c build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
vk_meta_object_list.h vulkan: fix random tabs to spaces 2025-05-16 03:57:31 +00:00
vk_meta_private.h build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
vk_nir.c all: rename gl_shader_stage to mesa_shader_stage 2025-08-06 10:28:40 +08:00
vk_nir.h all: rename gl_shader_stage to mesa_shader_stage 2025-08-06 10:28:40 +08:00
vk_nir_convert_ycbcr.c build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
vk_nir_convert_ycbcr.h vk: Don't include full nir.h in headers. 2025-02-12 22:33:07 +01:00
vk_object.c vulkan: handle wsi private data properly 2025-09-01 05:44:40 +00:00
vk_object.h anv: Implement VK_EXT_device_memory_report 2025-03-04 15:24:39 +00:00
vk_physical_device.c vulkan: add common GetPhysicalDeviceCalibrateableTimeDomainsKHR 2025-01-07 03:39:28 +00:00
vk_physical_device.h
vk_pipeline.c vulkan/runtime: use a pipeline flag for unaligned dispatches 2025-08-20 11:17:52 +00:00
vk_pipeline.h vulkan: move internal vulkan pseudo-extensions to a common file 2025-09-01 03:50:12 +00:00
vk_pipeline_cache.c vulkan/runtime: allow to use a different disk cache 2025-02-05 16:30:27 +00:00
vk_pipeline_cache.h vulkan/runtime: allow to use a different disk cache 2025-02-05 16:30:27 +00:00
vk_pipeline_layout.c vulkan/runtime: track dynamics descriptor in a set layout 2025-05-08 11:22:55 +00:00
vk_pipeline_layout.h vulkan/runtime: track dynamics descriptor in a set layout 2025-05-08 11:22:55 +00:00
vk_query_pool.c
vk_query_pool.h
vk_queue.c vulkan/queue: Fix VkTimelineSemaphoreSubmitInfo sanitization 2025-08-25 17:57:47 +00:00
vk_queue.h vulkan,anv,hasvk: Drop vk_queue_wait_before_present() 2025-08-22 23:05:02 +00:00
vk_render_pass.c build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
vk_render_pass.h vulkan: move internal vulkan pseudo-extensions to a common file 2025-09-01 03:50:12 +00:00
vk_sampler.c build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
vk_sampler.h vulkan/runtime: add vk_sampler_{init,finish}() helpers 2025-07-01 08:54:04 +02:00
vk_semaphore.c build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
vk_semaphore.h
vk_shader.c vulkan/runtime: add ray tracing pipeline support 2025-08-13 12:01:49 +00:00
vk_shader.h vulkan: move internal vulkan pseudo-extensions to a common file 2025-09-01 03:50:12 +00:00
vk_shader_module.c dzn: Use vk_pipeline_shader_stage_to_nir() 2024-08-29 03:30:31 +00:00
vk_shader_module.h dzn: Use vk_pipeline_shader_stage_to_nir() 2024-08-29 03:30:31 +00:00
vk_standard_sample_locations.c build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
vk_standard_sample_locations.h
vk_sync.c vulkan: Add a vk_sync_signal_unwrap() helper 2025-08-22 23:05:00 +00:00
vk_sync.h vulkan: Add a vk_sync_signal_unwrap() helper 2025-08-22 23:05:00 +00:00
vk_sync_binary.c
vk_sync_binary.h
vk_sync_dummy.c
vk_sync_dummy.h
vk_sync_timeline.c vulkan/sync: Return early in vk_sync_timeline_wait() if wait_value == 0 2025-08-22 23:04:56 +00:00
vk_sync_timeline.h vulkan: don't destroy vk_sync_timeline if a point is still pending 2025-07-24 18:49:02 -03:00
vk_synchronization.c vulkan/queue: Fix VkTimelineSemaphoreSubmitInfo sanitization 2025-08-25 17:57:47 +00:00
vk_synchronization.h
vk_texcompress_astc.c build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
vk_texcompress_astc.h vulkan: add descriptor buffer support to compute astc decoder 2025-02-17 15:03:43 +01:00
vk_texcompress_etc2.c nir: introduce ergonomic tex builder 2025-07-21 12:11:41 +00:00
vk_texcompress_etc2.h build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
vk_video.c vulkan/video: Add intra refresh support 2025-08-20 10:57:59 +00:00
vk_video.h vulkan/video: Add intra refresh support 2025-08-20 10:57:59 +00:00
vk_ycbcr_conversion.c
vk_ycbcr_conversion.h vulkan: Add a vk_sampler_state struct 2025-06-19 15:45:08 +00:00