mesa/src/vulkan/runtime
Iván Briano 101a803858 vulkan: use standard sample locations if there's no VkPipelineSampleLocationsStateCreateInfoEXT
If the pipeline is created with no
VkPipelineSampleLocationsStateCreateInfoEXT, but
VK_DYNAMIC_STATE_SAMPLE_LOCATIONS_ENABLE_EXT is set, we end up
dereferencing a NULL pointer.

Fixes future dEQP-VK.pipeline.*.extended_dynamic_state.*.sample_locations_enable_no_create_info

Fixes: 1deb83fb86 ("vulkan: Add more dynamic multisample states")

Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31377>
2024-09-26 03:43:57 +00:00
..
rmv vulkan/rmv: enable logging miscellaneous internal resources 2024-03-08 11:34:17 +00:00
meson.build vk/meta: Add copy/fill/update helpers 2024-08-20 15:11:14 +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
vk_android.c vulkan/android: change vk_enum_defines.h path 2024-09-05 22:59:58 +00:00
vk_android.h vulkan/android: Add helper to probe AHB support 2024-05-14 14:53:44 +00:00
vk_blend.c
vk_blend.h
vk_buffer.c vulkan/runtime: fix GetBufferMemoryRequirements2 for maintenance4 2024-08-19 10:13:09 +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: handle enqueueing CmdPushDescriptorSet2KHR 2024-06-20 16:43:56 +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/runtime: introduce vk_meta_object_list 2024-07-25 19:14: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: allow null/empty debug names 2024-08-05 21:12:59 +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.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: reference count vk_descriptor_update_template 2024-06-20 16:43:55 +00:00
vk_descriptor_update_template.h vulkan: reference count vk_descriptor_update_template 2024-06-20 16:43:55 +00:00
vk_descriptors.c
vk_descriptors.h
vk_device.c vulkan: skip the disk cache when disableInternalCache is true 2024-09-10 08:19:52 +00:00
vk_device.h vulkan: skip the disk cache when disableInternalCache is true 2024-09-10 08:19:52 +00:00
vk_device_memory.c mesa/vulkan: use DETECT_OS_ANDROID 2024-01-18 18:45:40 +00:00
vk_device_memory.h
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
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: use standard sample locations if there's no VkPipelineSampleLocationsStateCreateInfoEXT 2024-09-26 03:43:57 +00:00
vk_graphics_state.h vulkan: Expose a vk_cmd_set_rendering_attachment_locations() helper 2024-09-05 17:55:21 +00:00
vk_image.c vk/image: fix view creation for planar video aspects 2024-09-25 06:21:58 +00:00
vk_image.h vk/image: Add a vk_image_buffer_range() helper 2024-08-20 15:11:14 +00:00
vk_instance.c vulkan: allow building venus without libcompiler 2024-03-07 20:33:28 +00:00
vk_instance.h vulkan/runtime: implementaiton -> implementation 2024-06-26 12:31:00 +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 vulkan: add vk_debug_ignored_stype helper 2024-05-10 18:49:38 +00:00
vk_meta.c vk/meta: Add copy/fill/update helpers 2024-08-20 15:11:14 +00:00
vk_meta.h vk/meta: Add copy/fill/update helpers 2024-08-20 15:11:14 +00:00
vk_meta_blit_resolve.c vk/meta: Let meta users pass the color attachment write mask explicitly 2024-08-20 15:11:14 +00:00
vk_meta_clear.c vk/meta: Let meta users pass the color attachment write mask explicitly 2024-08-20 15:11:14 +00:00
vk_meta_copy_fill_update.c vk/meta: Make sure texel is 32-bit in build_buffer_to_image_cs() 2024-09-20 18:21:50 +00:00
vk_meta_draw_rects.c vulkan/runtime: implementaiton -> implementation 2024-06-26 12:31:00 +00:00
vk_meta_object_list.c vk/meta: add buffer view tracking 2024-07-26 18:40:47 +00:00
vk_meta_object_list.h vulkan/runtime: introduce vk_meta_object_list 2024-07-25 19:14:31 +00:00
vk_meta_private.h vk/meta: Add copy/fill/update helpers 2024-08-20 15:11:14 +00:00
vk_nir.c vulkan: Set SPIR-V caps from supported features 2024-05-09 01:14:23 +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 treewide: use nir_def_replace sometimes 2024-06-21 15:36:56 +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: do not access member of a NULL structure 2024-06-21 21:07:05 +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 vulkan: Set SPIR-V caps from supported features 2024-05-09 01:14:23 +00:00
vk_pipeline.c vk/runtime: Allow "require full subgroups" for Mesh/Task 2024-09-06 05:49:07 +00:00
vk_pipeline.h vulkan: Take a VkPipelineCreateFlags2KHR in vk_pipeline_*shader_stage*() 2024-08-29 03:30:31 +00:00
vk_pipeline_cache.c vulkan: skip the disk cache when disableInternalCache is true 2024-09-10 08:19:52 +00:00
vk_pipeline_cache.h
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: Add a helper for getting VkRenderingAttachmentLocaiontInfoKHR 2024-09-05 17:55:21 +00:00
vk_render_pass.h vulkan: Add a helper for getting VkRenderingAttachmentLocaiontInfoKHR 2024-09-05 17:55:21 +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
vk_shader.c vulkan: Add null descriptor bits to vk_pipeline_robustness_state 2024-08-15 22:25:13 +00:00
vk_shader.h vulkan: Add generic graphics and compute VkPipeline implementations 2024-02-27 22:17:09 +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
vk_standard_sample_locations.h
vk_sync.c
vk_sync.h
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 vulkan: Use u_cnd_monotonic for vk_sync_timeline 2024-07-08 22:09:06 +00:00
vk_sync_timeline.h vulkan: Use u_cnd_monotonic for vk_sync_timeline 2024-07-08 22:09:06 +00:00
vk_synchronization.c vk/sync: Use the proper type in vk_filter_{src,dst}_access_flags2() 2024-08-20 14:33:52 +00:00
vk_synchronization.h vulkan: Add vk_expand_(dst|src)_access_flags2 2024-06-28 10:41:49 +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: fix vui encoding 2024-09-02 21:15:13 +00:00
vk_video.h vulkan/video: adds a bitstream writer of h265 slice header 2024-08-02 07:15:59 +00:00
vk_ycbcr_conversion.c
vk_ycbcr_conversion.h