Commit Graph

16162 Commits

Author SHA1 Message Date
baldurk 9b025ef659 Use correct size for storage/input attachment view descriptors 2025-09-03 09:42:09 +01:00
baldurk 2a87474e3c Fix use-after-modify when adding new key as subset of old key 2025-09-03 09:39:38 +01:00
baldurk 283432a5dd Add test of trie key that is pure prefix of unique previous key
* We already test this later when the prefix is in an already split node.
2025-09-03 09:37:08 +01:00
baldurk 139bfefaa7 Add protection against potentially invalid GetDescriptor inputs 2025-09-01 14:12:26 +01:00
Hans-Kristian Arntzen c800a59159 Fix bad merge for aliased descriptors. 2025-09-01 01:46:51 +09:00
Hans-Kristian Arntzen d64eeba25c Add descriptor type descriptor uniqueness key.
Avoids problem when storage image and sampled image are extracted from
the same view object.
2025-09-01 01:46:51 +09:00
baldurk 6f0cbfa242 Fix incorrect invalidation of push descriptor bindings with buffers 2025-08-29 11:51:04 +01:00
baldurk c03194c100 Always do blit from fake backbuffer even if overlay is disabled 2025-08-29 11:51:04 +01:00
Pavel Asyutchenko c280fc7230 Update vulkan version clamp to 1.4 2025-08-29 06:11:18 +09:00
baldurk 9558d25fc4 Only apply NV BDA workaround on windows
* The linux driver has a different allocator and isn't subject to the same bug
  (which is a windows bug)
2025-08-28 11:09:06 +01:00
baldurk aecfcaca35 Only apply NV BDA workaround on replay if it was applied on capture
* Applying it during capture ensures that we have enough room on replay to apply
  the same expansion.
2025-08-28 11:08:25 +01:00
baldurk e55ed4e9d5 Only replay fake backbuffers with BDA if we have recorded BDA info 2025-08-28 10:58:39 +01:00
baldurk 1811135bc1 Ensure parentResInfo is always set for all resource types
* This only needs to be different from `this` in the case of image views when
  using descriptor buffers, so automatically set it to this by default and
  overwrite only in that case.
2025-08-27 17:43:14 +01:00
Jake Turner 073eab90c9 Change DXIL ControlFlow to use a graph search instead of walking paths
Graph search is faster than walking paths
2025-08-26 10:32:45 +01:00
baldurk 046a86d5ab Handle NULL descriptors being created with 0 address 2025-08-25 17:51:09 +01:00
baldurk 795a925108 Fix mishandling of undefined component in OpVectorShuffle 2025-08-25 13:28:11 +01:00
baldurk 3595efcd74 Fix casts for 32-bit 2025-08-25 13:28:11 +01:00
baldurk f511e2e335 Fix vulkan extension sorting 2025-08-25 13:28:11 +01:00
baldurk 5981f694d4 Use macro for per-type abs() 2025-08-25 13:28:11 +01:00
baldurk cb5b506ed5 Enable support for vulkan 1.4. Closes #3625 2025-08-25 11:36:02 +01:00
baldurk 52e426195e Add missing feature check for EXT_host_image_copy 2025-08-25 11:36:02 +01:00
baldurk cba07ed3d5 Add support for VK_EXT_pipeline_protected_access 2025-08-25 11:36:02 +01:00
baldurk d78e44688c Add support for VK_EXT_pipeline_robustness 2025-08-25 11:36:01 +01:00
baldurk 215557a570 Add support for VK_KHR_maintenance9 2025-08-25 11:36:01 +01:00
baldurk 2cb07273cb Add support for VK_KHR_maintenance8 2025-08-25 11:36:01 +01:00
baldurk e1f3582774 Add support for VK_KHR_maintenance7 2025-08-25 11:36:01 +01:00
baldurk a05fd08a1c Add support for VK_KHR_maintenance6. Closes #3602 2025-08-25 11:36:01 +01:00
baldurk f0cc6a059a Add support for VK_KHR_present_id/wait2 2025-08-25 10:19:31 +01:00
baldurk f1672e976b Add support for VK_EXT/KHR_present_mode_fifo_latest_ready 2025-08-25 10:19:31 +01:00
baldurk 0b17720e3b Add support for VK_KHR_unified_image_layouts 2025-08-25 10:19:31 +01:00
baldurk 0e260dc490 Add support for VK_KHR_shader_bfloat16 2025-08-25 10:19:31 +01:00
baldurk e809db8a40 Add support for VK_KHR_map_memory2 2025-08-25 10:19:31 +01:00
Lizzie 5dcc1b147f fix for openbsd 2025-08-22 19:12:12 +09:00
baldurk ffa70fabdc Auto-break on NonSemantic.DebugBreak instructions
* This is almost completely worthless as it seems at least NV and amdvlk both
  actually crash the GPU on this instruction, meaning there's no way to get it
  to the shader debugger. But on other drivers like radv, or maybe if this is
  fixed in future, this will be useful.
* For this reason it also can't be tested automatically.
2025-08-21 16:09:40 +01:00
baldurk e5158d74ae Add missing serialise instantiations for inline uniform block 2025-08-21 14:13:48 +01:00
baldurk a72262c07e Fill out textureType in vulkan descriptors 2025-08-21 13:07:04 +01:00
baldurk 52c1cae925 Follow symlinks when iterating extension folders on linux 2025-08-20 10:24:44 +01:00
baldurk 29b4c1f85f Filter auto-generated barriers (if state is unknown) to CB type
* This prevents us from adding non-compute states such as PIXEL_SHADER_RESOURCE
  from the CPU last-known state when transitioning resources before an indirect
  patch on a command buffer.
2025-08-19 17:00:41 +01:00
baldurk 0423ca4870 Ensure when using action callbacks that sub-EIs are selected correctly 2025-08-19 16:05:42 +01:00
baldurk 99202434f4 Add flag python annotation to structured data flags 2025-08-19 16:05:42 +01:00
baldurk 661b27c4cc Use SRV not CBV to read execute count buffer
* The count buffer may not be aligned enough for a CBV
2025-08-19 16:05:42 +01:00
baldurk 196669a148 Fix potential crashes if MaxCommandCount == 0 in ExecuteIndirect 2025-08-19 16:05:42 +01:00
Hans-Kristian Arntzen 814d764df7 Fix exporting large raw buffers at an offset. 2025-08-20 00:05:29 +09:00
Jake Turner 87a3a56c8f Clamp Vulkan Mesh Rendering index buffer offset to be in bounds 2025-08-19 07:29:17 +01:00
baldurk fa0ba4a532 Don't disable blending for fetching per-fragment postmod 2025-08-18 13:28:11 +01:00
Cam Mannett 3b80d8ed15 Disable VK_EXT_fragment_density_map2 if no non-sampled image support
VK_EXT_fragment_density_map2 and VK_QCOM_fragment_density_map_offset depend on VK_EXT_fragment_density_map, so if RD disables it due to lack of VkPhysicalDeviceFragmentDensityMapFeaturesEXT::fragmentDensityMapNonSubsampledImages support (common on Mali) it needs to disable the others as well.
2025-08-18 18:15:54 +09:00
Cam Mannett c62ebeae69 Use correct SpecID when descriptor array size <64
Fixes #3643
2025-08-16 05:56:16 +09:00
baldurk fd61a60a42 Fix error with structured object iteration 2025-08-15 13:44:56 +01:00
baldurk ec01df4fd4 Fix errors with pre-declaring swig wrappers 2025-08-15 13:42:46 +01:00
baldurk a4817fef76 Add type annotations for some structure members
* These annotations are necessary for good autocomplete on the python side so it
  knows the types.
2025-08-15 12:56:26 +01:00