mesa/src/vulkan/runtime
Jason Ekstrand 650880105e vulkan,lavapipe: Use a tri-state enum for depth clip enable
This should make it a lot more clear how depth clip enables work.
Annoyingly, because of the way they originally worked in Vulkan 1.0,
it's dependent on the depth clamp if the state isn't set in the pipeline
and isn't declared dynamic.  The enum is explicitly set up so that
drivers don't need to be aware of this change unless they already
implement VK_EXT_extended_dynamic_state3.  If depth clamp/clamp are not
dynamic, depth clip will be either TRUE or FALSE which map to 1/0 so the
field can still be treated as a boolean.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18889>
2022-10-07 06:22:32 +00:00
..
meson.build vulkan/runtime: Add a comon vk_descriptor_update_template 2022-09-17 03:32:29 +00:00
vk_android.c radv: Move QueueSignalReleaseImageANDROID to common code 2022-01-05 16:36:10 +00:00
vk_buffer.c vulkan: Add a base struct for buffers 2022-05-27 18:38:42 -05:00
vk_buffer.h vulkan: Use the correct enum in vk_buffer 2022-05-30 17:43:58 +00:00
vk_cmd_copy.c vulkan/runtime: use updated tokens from vk.xml 2022-07-12 15:53:11 +00:00
vk_cmd_enqueue.c vulkan: Depend on vk_pipeline_layout in vk_cmd_enqueue 2022-06-29 20:31:58 +00:00
vk_command_buffer.c vulkan: Recycle command buffers in vk_command_pool 2022-09-01 20:17:25 +00:00
vk_command_buffer.h vulkan: Recycle command buffers in vk_command_pool 2022-09-01 20:17:25 +00:00
vk_command_pool.c vulkan: Recycle command buffers in vk_command_pool 2022-09-01 20:17:25 +00:00
vk_command_pool.h vulkan,docs: Add documentation Vulkan command pools 2022-09-01 20:17:25 +00:00
vk_debug_report.c vulkan: explicitly cast object-type enum 2022-04-19 06:54:47 +00:00
vk_debug_report.h
vk_debug_utils.c
vk_debug_utils.h
vk_deferred_operation.c
vk_deferred_operation.h
vk_descriptor_set_layout.c vulkan: Handle descriptor set layout alloc fails 2022-08-02 14:16:14 +00:00
vk_descriptor_set_layout.h vulkan: Add a base struct for descriptor set layouts 2022-06-29 20:31:57 +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
vk_descriptors.h
vk_device.c vulkan: Record more enabled robustness features 2022-09-20 23:53:51 +00:00
vk_device.h vulkan: Record more enabled robustness features 2022-09-20 23:53:51 +00:00
vk_drm_syncobj.c vulkan/drm_syncobj: Implement WAIT_PENDING with a sync_file lookup 2022-04-13 17:22:14 +00:00
vk_drm_syncobj.h vulkan,anv: Auto-detect syncobj features 2021-11-16 10:54:27 -06:00
vk_fence.c vulkan: initialize a variable 2022-09-02 00:13:27 +00:00
vk_fence.h vulkan: Add a common implementation of VkFence 2021-11-16 10:02:08 -06:00
vk_framebuffer.c vulkan/runtime: use updated tokens from vk.xml 2022-07-12 15:53:11 +00:00
vk_framebuffer.h vulkan: Fix a comment 2022-06-29 20:31:57 +00:00
vk_graphics_state.c vulkan,lavapipe: Use a tri-state enum for depth clip enable 2022-10-07 06:22:32 +00:00
vk_graphics_state.h vulkan,lavapipe: Use a tri-state enum for depth clip enable 2022-10-07 06:22:32 +00:00
vk_image.c vulkan,anv,dozen: Use VK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXT 2022-08-23 16:41:55 +00:00
vk_image.h vulkan/runtime: use updated tokens from vk.xml 2022-07-12 15:53:11 +00:00
vk_instance.c vulkan: Add common physical device management 2022-08-30 19:34:47 +00:00
vk_instance.h vulkan: update comments to device enumeration callbacks 2022-09-15 20:01:29 +00:00
vk_limits.h vulkan: Add data structures to store all graphics state 2022-07-19 19:19:33 +00:00
vk_log.c vulkan/log: Allow but warn for client-invisible objects 2022-04-26 16:22:23 +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: Call gather_xfb_info in vk_spirv_to_nir 2022-07-21 21:18:48 +00:00
vk_nir.h spirv,vulkan: Set shader_info::subgroup_size 2022-07-08 22:47:22 +00:00
vk_object.c vulkan: Add a concept of recycling an object 2022-09-01 20:17:25 +00:00
vk_object.h vulkan: avoid warning about unused function 2022-09-25 03:53:15 +00:00
vk_physical_device.c vulkan: remove the VkPhysicalDeviceMemoryProperties workaround 2022-05-24 23:35:28 +00:00
vk_physical_device.h vulkan: Add common physical device management 2022-08-30 19:34:47 +00:00
vk_physical_device_features.py
vk_pipeline.c vulkan: Add a helper for gathering pipeline robustness 2022-09-20 23:53:51 +00:00
vk_pipeline.h vulkan: Add a helper for gathering pipeline robustness 2022-09-20 23:53:51 +00:00
vk_pipeline_cache.c vulkan/runtime: use updated tokens from vk.xml 2022-07-12 15:53:11 +00:00
vk_pipeline_cache.h vulkan/runtime: 0-out pipeline cache object 2022-05-02 19:02:42 +00:00
vk_pipeline_layout.c vulkan: allow null descriptor set layouts in pipeline layouts 2022-07-20 10:59:56 +00:00
vk_pipeline_layout.h vulkan: Add a common implementation of pipeline layouts 2022-06-29 20:31:57 +00:00
vk_queue.c vulkan/runtime: use updated tokens from vk.xml 2022-07-12 15:53:11 +00:00
vk_queue.h vulkan: Allow the driver to manually enable threaded submit 2022-03-30 23:17:56 +00:00
vk_render_pass.c vulkan,anv,dozen: Use VK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXT 2022-08-23 16:41:55 +00:00
vk_render_pass.h vulkan,anv,dozen: Use VK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXT 2022-08-23 16:41:55 +00:00
vk_sampler.c vulkan: Add some border color helpers 2022-06-23 00:01:41 +00:00
vk_sampler.h vulkan: Add some border color helpers 2022-06-23 00:01:41 +00:00
vk_semaphore.c vulkan/runtime: use updated tokens from vk.xml 2022-07-12 15:53:11 +00: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 common code for VK_EXT_shader_module_identifier. 2022-07-06 16:27:21 +00:00
vk_shader_module.h vulkan: Add common code for VK_EXT_shader_module_identifier. 2022-07-06 16:27:21 +00:00
vk_standard_sample_locations.c vulkan: Add data structures to store all graphics state 2022-07-19 19:19:33 +00:00
vk_standard_sample_locations.h vulkan: Add standard sample locations 2022-07-19 19:19:33 +00:00
vk_sync.c vulkan/runtime: use updated tokens from vk.xml 2022-07-12 15:53:11 +00:00
vk_sync.h vulkan/runtime: use updated tokens from vk.xml 2022-07-12 15:53:11 +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: Use timespec_add_nsec in vk_sync_timeline 2022-04-06 00:38:22 +00:00
vk_sync_timeline.h vulkan: Add an emulated timeline sync type 2021-11-16 10:02:08 -06:00
vk_synchronization2.c vulkan/runtime: use updated tokens from vk.xml 2022-07-12 15:53:11 +00:00