Commit Graph
17061 Commits
Author SHA1 Message Date
Jake Turner 4aa00a2bfa Add python helper functions to check indirect action names 2026-07-22 05:41:09 +01:00
baldurk a66becd518 Add missing documentation item 2026-07-21 16:59:52 +01:00
baldurk 9ca6d0ae81 Update custom resolve status 2026-07-21 16:05:07 +01:00
baldurk 40570791a4 Add support for VK_EXT_depth_bias_control 2026-07-21 16:05:07 +01:00
Neil MondayandBaldur Karlsson 1e581d3c90 Add ray tracing invocation reorder extensions
Applications that use these extensions have shaders with new
instructions. The driver should receive the features struct
via a vkCreateDevice pNext chain to enable the feature. This
change simply adds this extension as a supported extension,
and adds the pNext structs to the supported structs.
2026-07-21 21:40:41 +09:00
Jake Turner 4e8e179d32 Add the empty VkQueueSubmit2() during replay when submitCount is zero 2026-07-20 18:16:51 +01:00
baldurk da2ebcbead Properly sync queue before processing submission
* This isn't necessary if only one main queue is in use as FlushQ() syncs our
  main queue, but if the submission is on a separate compute family for example
  we need to sync it before processing any indirect readbacks.
2026-07-20 17:36:10 +01:00
baldurk 7e9b562fe6 Fetch depth resolve image attachments when dynamic rendering 2026-07-20 17:36:09 +01:00
baldurk 98d216e629 Drop invalid descriptor range queries 2026-07-20 17:36:09 +01:00
Jake Turner bf4b34671f Assert IsLoading() in Vulkan AddEvent(), AddAction() 2026-07-20 12:40:34 +01:00
Jake Turner a5164bd9f2 Add the empty VkQueueSubmit() during replay when submitCount is zero
For consistency of replay to the application
2026-07-20 12:34:42 +01:00
Jake Turner 48bb4350bd VK_Parameter_Zoo: add empty vkQueueSubmit before colour draws 2026-07-20 12:32:57 +01:00
baldurk c980ca661e Fix missing calling convention 2026-07-17 18:15:09 +01:00
baldurk a9534bcc69 Use resource class as part of key for caching resource info 2026-07-17 16:50:08 +01:00
baldurk f933241381 Fix queries of byte address buffer lengths 2026-07-17 16:26:14 +01:00
baldurk e21c39b16d Check that SM version can be compiled with our dxc before using it 2026-07-17 16:26:12 +01:00
baldurk d3b1d29969 Add a test for ByteAddressBuffer length queries 2026-07-17 16:14:29 +01:00
baldurk 70c8a2bc74 Add interface checking for ID3D12Device15. Closes #3833 2026-07-17 16:14:29 +01:00
baldurk a7bccc887d Allow up to shader model 6.9 on D3D12 2026-07-17 16:14:29 +01:00
baldurk 96978cae62 Add handling for new DXIL dx.op opcodes 2026-07-17 16:14:29 +01:00
baldurk 630510e360 Implement new query heap functions on D3D12 2026-07-17 16:14:29 +01:00
baldurk 1d32b45ca5 Add TryCreate* variants of D3D12 descriptor write functions
* These are identical to the old versions but with a return value, so we can
  share the implementation and have a common path just with a bool, and discard
  the return value as needed.
* In the new path, only successful writes will be serialised.
2026-07-17 16:14:29 +01:00
baldurk b9a68b51f5 Query and store ID3D12Device15 2026-07-17 16:14:29 +01:00
baldurk 65694c13a9 Handle byte-offset buffer descriptors on D3D12 2026-07-17 16:14:28 +01:00
baldurk 01c543634d Update D3D12 headers to 1.619.4 and implement trivial interfaces 2026-07-17 15:41:34 +01:00
Jake Turner 0407903499 Vulkan Pixel History warn and ignore nested secondaries events
Fixes invalid API usage trying to end a render pass whilst in a secondary command buffer
2026-07-17 12:18:23 +01:00
Jake Turner 2ec946fabf Change vkCmdExecuteCommands action callback to use full event range
Use full event range in the command buffer instead of the actions range
2026-07-17 12:18:23 +01:00
Jake Turner b2948d3de5 VK_Pixel_History: add test for nested secondaries 2026-07-17 12:18:19 +01:00
Jake Turner 74d1241a55 VK_Indirect: add a large IndirectCount draw before execute secondary 2026-07-17 06:16:19 +01:00
Jake Turner 97a11ae6a9 Extend VK_Resource_Usage : execute an empty secondary command buffer 2026-07-16 12:13:37 +01:00
baldurk 29959d8993 Optimise filling of debug source variables in very large shader cases 2026-07-15 14:28:56 +01:00
baldurk aabc2d5b19 Display debug scopes in shader disassembly 2026-07-15 14:26:17 +01:00
baldurk 4190a32c8c Reset indent between functions in SPIR-V disassembly
* If something goes wrong and the indent isn't properly tidied, we know we can
  at least start from 0 at a new function
2026-07-15 11:04:52 +01:00
baldurk 1e40fa4251 Handle dummy/empty switches in SPIR-V disassembly
* Slang seems to sometimes output dummy switches which aren't needed and confuse
  the disassembly. In cases they are needed we need to identify when a break to
  them short-circuits other control flow and close them.
2026-07-15 11:04:29 +01:00
baldurk b013798e32 Fix some SPIR-V disassembled if()s exiting too early
* If the merge block is the main body of the if that implies there is fall-
  through to the else case, it is more confusing but equivalent to putting the
  merge block as the else case as the merge block doesn't have to be after the if.
2026-07-15 11:03:08 +01:00
baldurk 1f3334d358 Fix loops not printing breaks in SPIR-V disassembly
* If the end of the loop exits it's a redundant goto but similar to switches we
  still want the break
2026-07-15 11:01:31 +01:00
baldurk 274042a1a7 Fix disassembly of SPIR-V loop continues
* An actual continue will need to print a goto to the increment block as we
  don't try to disassemble for loops
2026-07-15 11:00:37 +01:00
baldurk 899cf98fd1 Tweak message about selected replay physical device 2026-07-13 23:25:11 +01:00
Jake Turner 4cf6cbd6be Documentation fix incorrect link in VKDescriptorSet::dynamicOffsets
PipeState.GetConstantBuffer -> PipeState.GetConstantBlock
2026-07-11 14:42:04 +01:00
Jake Turner a0caa3399f Improve Vulkan handling of zero count Submits 2026-07-08 12:43:40 +01:00
Jake Turner 14d36bd0ba Removed unused (and uninitialised) BakedCmdBufferInfo::customResolve 2026-07-08 10:49:32 +01:00
baldurk 62a58c87b0 Fix sorting of vulkan extensions 2026-07-03 16:58:35 +01:00
baldurk d0e9d73d3c Implement support for NV diagnostics extensions
* These are treated as read-only, we replay checkpoints but they are for
  aftermath so don't mean anything.
* This allows applications to leave aftermath on, normally this could be
  silently allowed but aftermath affects shader compilation when enabled.
2026-07-03 16:31:41 +01:00
baldurk 5904abda3a Match enum order in ToStr() 2026-07-03 16:31:41 +01:00
baldurk 55411fe5ee Remove duplicated CmdBeginCustomResolveEXT in hookset init 2026-07-03 16:31:41 +01:00
baldurk 130e801183 Add missing VK_EXT_custom_resolve feature check 2026-07-03 16:31:40 +01:00
baldurk 0a1a33df51 Update vulkan headers to 1.4.356 2026-07-03 16:31:40 +01:00
baldurk 2e351a8801 Update SPIR-V files to latest 2026-07-03 14:19:33 +01:00
baldurk 9c7a4c956f Fix demos project using auto-SDK selection 2026-07-03 10:48:42 +01:00
baldurk 4edf26d6f7 Choose native VS toolset per version as with SDK version 2026-07-02 16:24:42 +01:00