mesa/src/vulkan/runtime
Iván Briano 43ce8bec1d vulkan/runtime: pColorAttachmentInputIndices is allowed to be NULL
The Vulkan spec says:
"If pColorAttachmentInputIndices is NULL, it is equivalent to setting
each element to its index within the array."

Fix updated dEQP-VK.dynamic_rendering.primary_cmd_buff.local_read.*.

v2: Fix it correctly (Samuel)

Fixes: 03490ec019 ("vulkan/runtime: rework VK_KHR_dynamic_rendering_local_read state tracking")

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29703>
(cherry picked from commit 51f410f621)
2024-06-18 19:23:24 +02:00
..
rmv vulkan/rmv: enable logging miscellaneous internal resources 2024-03-08 11:34:17 +00:00
meson.build vulkan: refactor the runtime header gen order dependency 2024-03-08 21:42:07 +00:00
vk_acceleration_structure.c vk/runtime: update symbols that have become aliases for newer ones 2023-12-04 23:27:29 +00:00
vk_acceleration_structure.h vulkan: Add vk_acceleration_structure 2023-02-22 11:58:57 +00:00
vk_android.c vulkan/android: drop vk_buffer dependency from common AHB impl 2023-09-18 19:25:59 +00:00
vk_android.h mesa/vulkan: use DETECT_OS_ANDROID 2024-01-18 18:45:40 +00:00
vk_blend.c vulkan: Add helpers for blend enum translation 2023-07-13 21:03:32 +00:00
vk_blend.h vulkan: Add helpers for blend enum translation 2023-07-13 21:03:32 +00:00
vk_buffer.c vulkan: Use VkBufferUsageFlags2 in vk_buffer 2023-08-04 16:03:16 +00:00
vk_buffer.h vulkan: Use VkBufferUsageFlags2 in vk_buffer 2023-08-04 16:03:16 +00:00
vk_buffer_view.c vulkan: add init/finish helpers for vk_buffer_view 2023-08-08 10:24:54 +00:00
vk_buffer_view.h vulkan: add init/finish helpers for vk_buffer_view 2023-08-08 10:24:54 +00:00
vk_cmd_copy.c vk/runtime: update symbols that have become aliases for newer ones 2023-12-04 23:27:29 +00:00
vk_cmd_enqueue.c vulkan/cmd_queue: Implement CmdBuildAccelerationStructuresKHR 2024-03-06 16:34:25 +00:00
vk_command_buffer.c vk/cmdbuf: add back deleted maint6 workgraph bits 2024-01-11 15:59:17 +00:00
vk_command_buffer.h vulkan: pass cmdbuf level to vk_command_buffer_ops::create() 2024-04-23 06:33:31 +00:00
vk_command_pool.c vulkan: pass cmdbuf level to vk_command_buffer_ops::create() 2024-04-23 06:33:31 +00:00
vk_command_pool.h docs/vulkan: use hawkmoth instead of doxygen 2023-10-26 16:13:26 +00:00
vk_debug_report.c vulkan: use instance allocator for object_name in some objects 2023-11-10 20:57:19 +00:00
vk_debug_report.h
vk_debug_utils.c vulkan/runtime: Check correct callback list for binding report. 2024-04-10 13:50:56 +00:00
vk_debug_utils.h vulkan/debug_utils: add a helper for reporting address binding 2024-04-03 08:48:36 +00:00
vk_deferred_operation.c
vk_deferred_operation.h
vk_descriptor_set_layout.c vk/descriptor_set_layout: Add optional destructor 2022-12-12 17:38:19 +00:00
vk_descriptor_set_layout.h vulkan: Add a BLAKE3 hash to vk_descriptor_set_layout 2024-02-27 22:17:09 +00:00
vk_descriptor_update_template.c vulkan/runtime: Compact descriptor update templates 2022-09-17 03:32:29 +00:00
vk_descriptor_update_template.h vulkan/runtime: Add a comon vk_descriptor_update_template 2022-09-17 03:32:29 +00:00
vk_descriptors.c tu,vulkan: Add common Get*OpaqueCaptureDescriptorDataEXT 2023-02-13 07:43:11 +00:00
vk_descriptors.h vulkan: prefer vulkan_core.h over vulkan.h 2023-02-15 18:35:14 +00:00
vk_device.c vulkan: Add implicit pipeline caching support 2024-04-22 14:37:59 -05:00
vk_device.h vulkan: Add implicit pipeline caching support 2024-04-22 14:37:59 -05:00
vk_device_memory.c mesa/vulkan: use DETECT_OS_ANDROID 2024-01-18 18:45:40 +00:00
vk_device_memory.h vulkan: Add a vk_device_memory base struct 2023-03-31 14:57:03 +00:00
vk_drm_syncobj.c
vk_drm_syncobj.h
vk_fence.c vulkan: Add CPU tracing for vkWaitForFences. 2023-08-19 23:10:37 +02:00
vk_fence.h vulkan: Replace _Alignas with alignas 2022-11-10 05:04:12 +00:00
vk_format_info_gen.py util,vulkan,mesa,compiler: Generate source files with utf8 encoding from mako template 2023-12-07 12:41:07 +00:00
vk_framebuffer.c
vk_framebuffer.h
vk_graphics_state.c vulkan/runtime: pColorAttachmentInputIndices is allowed to be NULL 2024-06-18 19:23:24 +02:00
vk_graphics_state.h vulkan/runtime: Mark vk_default_dynamic_graphics_state to be private 2024-03-05 19:05:00 +00:00
vk_image.c vulkan: track compression control flags on vk_image 2024-04-16 05:56:12 +00:00
vk_image.h vulkan: track compression control flags on vk_image 2024-04-16 05:56:12 +00:00
vk_instance.c vulkan: allow building venus without libcompiler 2024-03-07 20:33:28 +00:00
vk_instance.h vulkan: Consolidate common ICD methods 2023-11-03 20:01:14 +00:00
vk_limits.h vulkan: Add generic graphics and compute VkPipeline implementations 2024-02-27 22:17:09 +00:00
vk_log.c treewide: Replace usage of macro DEBUG with MESA_DEBUG when possible 2024-03-22 18:22:34 +00:00
vk_log.h
vk_meta.c vulkan/runtime: fix typo 2024-04-16 23:56:19 +00:00
vk_meta.h vulkan/runtime: fix typo 2024-04-16 23:56:19 +00:00
vk_meta_blit_resolve.c vk/meta: Fix base_type selection in build_{clear,blit}_shader() 2024-03-11 11:52:13 +00:00
vk_meta_clear.c vk/meta: Fix base_type selection in build_{clear,blit}_shader() 2024-03-11 11:52:13 +00:00
vk_meta_draw_rects.c nir: Drop "SSA" from NIR language 2023-08-12 16:44:41 -04:00
vk_meta_private.h vulkan/meta: Insert a geometry shader when needed 2023-08-04 21:32:03 +00:00
vk_nir.c vulkan/runtime: add internal parameter to vk_spirv_to_nir 2023-10-09 23:37:51 +00:00
vk_nir.h vulkan/runtime: add internal parameter to vk_spirv_to_nir 2023-10-09 23:37:51 +00:00
vk_nir_convert_ycbcr.c nir: replace use of nir_src_copy() 2023-09-08 03:01:39 +00:00
vk_nir_convert_ycbcr.h nir: Drop "SSA" from NIR language 2023-08-12 16:44:41 -04:00
vk_object.c vulkan: reduce struct vk_object_base by 8 bytes 2024-04-15 22:12:52 +00:00
vk_object.h vulkan: reduce struct vk_object_base by 8 bytes 2024-04-15 22:12:52 +00:00
vk_physical_device.c vulkan/android: Only limit advertised extensions in strict mode 2023-12-13 20:09:37 +00:00
vk_physical_device.h docs/vulkan: use hawkmoth instead of doxygen 2023-10-26 16:13:26 +00:00
vk_pipeline.c anv: fix shader identifier handling 2024-05-31 08:34:16 +02:00
vk_pipeline.h anv: fix shader identifier handling 2024-05-31 08:34:16 +02:00
vk_pipeline_cache.c vulkan: Don't use set_foreach_remove when destroying pipeline caches 2023-11-13 20:09:31 +00:00
vk_pipeline_cache.h vulkan/pipeline_cache: add 'skip_disk_cache' option 2023-07-11 07:36:53 +00:00
vk_pipeline_layout.c vulkan: Add push constant ranges to vk_pipeline_layout 2024-02-27 22:17:09 +00:00
vk_pipeline_layout.h vulkan: Add push constant ranges to vk_pipeline_layout 2024-02-27 22:17:09 +00:00
vk_query_pool.c vulkan: Add init/finish helpers for vk_query_pool 2023-08-01 19:17:05 +00:00
vk_query_pool.h vulkan: Add init/finish helpers for vk_query_pool 2023-08-01 19:17:05 +00:00
vk_queue.c vulkan: don't zero-initialize STACK_ARRAY()'s stack array 2024-04-08 17:23:25 +00:00
vk_queue.h vulkan/runtime: refactor to use DETECT_OS_ANDROID instead of ANDROID 2024-02-01 19:29:49 +00:00
vk_render_pass.c vulkan/runtime: add helper to query attachment layout 2024-01-26 13:39:01 +00:00
vk_render_pass.h vulkan/runtime: add helper to query attachment layout 2024-01-26 13:39:01 +00:00
vk_sampler.c vulkan: Add a core vk_sampler struct 2023-07-31 17:01:42 +00:00
vk_sampler.h vulkan: Add a core vk_sampler struct 2023-07-31 17:01:42 +00:00
vk_semaphore.c vulkan: Add trace points for more Vulkan waiting functions. 2023-08-29 00:27:33 +00:00
vk_semaphore.h vulkan: Replace _Alignas with alignas 2022-11-10 05:04:12 +00:00
vk_shader.c vulkan: Add a bunch of -Wpadded errors 2024-04-06 23:54:36 -05:00
vk_shader.h vulkan: Add generic graphics and compute VkPipeline implementations 2024-02-27 22:17:09 +00:00
vk_shader_module.c vulkan: Migrate shader module hash to BLAKE3. 2023-06-23 09:28:04 +00:00
vk_shader_module.h vulkan: Migrate shader module hash to BLAKE3. 2023-06-23 09:28:04 +00:00
vk_standard_sample_locations.c
vk_standard_sample_locations.h
vk_sync.c vulkan: Win32 sync import/export support 2023-05-15 17:14:20 +00:00
vk_sync.h vulkan: Win32 sync import/export support 2023-05-15 17:14:20 +00:00
vk_sync_binary.c vulkan: don't zero-initialize STACK_ARRAY()'s stack array 2024-04-08 17:23:25 +00:00
vk_sync_binary.h
vk_sync_dummy.c
vk_sync_dummy.h
vk_sync_timeline.c
vk_sync_timeline.h
vk_synchronization.c vulkan: don't zero-initialize STACK_ARRAY()'s stack array 2024-04-08 17:23:25 +00:00
vk_synchronization.h vulkan: Add helpers for access flags 2023-12-01 17:59:51 +00:00
vk_texcompress_astc.c vulkan add 3D texture support for compute astc decoder 2023-10-11 19:28:40 +00:00
vk_texcompress_astc.h vulkan/runtime: add compute astc decoder helper functions 2023-10-11 19:28:40 +00:00
vk_texcompress_etc2.c vulkan/runtime: fix a harmless typo for ETC2 emulation 2023-10-06 00:55:18 +00:00
vk_texcompress_etc2.h vulkan/runtime, radv: remove 1D support from ETC2 emulation 2023-10-06 00:55:18 +00:00
vk_video.c vulkan/video: hevc: b-frames can be reference or not 2024-04-17 01:45:54 +00:00
vk_video.h vulkan/video: hevc: b-frames can be reference or not 2024-04-17 01:45:54 +00:00
vk_ycbcr_conversion.c vulkan,nir: Refactor ycbcr conversion state into a struct 2023-02-06 18:36:29 +00:00
vk_ycbcr_conversion.h vulkan,nir: Refactor ycbcr conversion state into a struct 2023-02-06 18:36:29 +00:00