Commit Graph
17044 Commits
Author SHA1 Message Date
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
baldurk 6a504631e2 Allow serialising normal/estimated chunks as 64-bit if predeclared
* Normally we only allowed 64-bit chunks in initial contents where the size was
  known up front and they were serialised direct to file.
2026-07-02 16:13:50 +01:00
baldurk ca199a4a19 If a capture fails to load, do not close connection panel 2026-07-02 16:13:45 +01:00
baldurk e63d25eb36 Bump version to v1.46 2026-07-02 16:13:32 +01:00
baldurk 2fc0bc04cb Ignore swizzles on resources and ensure no OOB swizzles are processed v1.45 2026-07-01 11:17:07 +01:00
baldurk 30daa3833a Fix incorrect resetting of buffers if created with new-barrier functions 2026-07-01 11:00:06 +01:00
Kirill KozlovandBaldur Karlsson 39ecdedcc1 Fix code snippet in the fetch_shader.rst
Make it the same as in the fetch_shader.py
2026-06-30 20:53:42 +09:00
baldurk ae08f97f6f Leak objects on shutdown if GL context can't be current. Closes #3858
* When a context is destroyed if we can't make it active somehow it's too late
  to destroy anything. We have to assume/count on drivers cleaning up objects.
  With sharegroups this may leak for a while unfortunately.
2026-06-29 12:22:42 +01:00
baldurk 08e10b0230 Fix typo in button tooltip 2026-06-29 11:08:38 +01:00
baldurk abd06a8d1c Ignore pipeline caches that are too large for 32-bit chunk size 2026-06-26 11:32:59 +01:00
baldurk 3316a82d14 Add dummy handling for new parameters 2026-06-24 13:15:24 +01:00
baldurk 20b908968f Force declaration of bool helpers to be uint. Closes #3856
* Reflection here is inconsistent, with descrepancies between GL and SPIR-V
  reflection. To be safe and consistent we force uint in all cases.
2026-06-22 13:52:14 +01:00
baldurk 06e8f370ba Fix handling of some formats of scalar pointers in buffer formatter 2026-06-18 21:50:51 +01:00
baldurk 0549154b30 Use new version of VS when installing compilers in CI 2026-06-17 08:10:03 +01:00
Vinluo46andBaldur Karlsson eb8c26a11f Refactor compiler detection conditions for array iterators 2026-06-16 22:34:43 +09:00
VinluoandBaldur Karlsson 4da2c3ff0a Fix Qt build with newer MSVC STL 2026-06-16 22:34:43 +09:00
Jules MaselbasandBaldur Karlsson 6660344c3d Fix GLES wireframe overlay with non-indexed draw
Wireframe overlay was missing the offset of the first vertex in the
draw call and resulted in showing an incorrect wireframe.

This is easily fixed by using the vertexOffset as the first index to
use, just like an indexOffset.
2026-06-09 18:09:02 +09:00
baldurk a4e158eafa Shader objects should not be considered specialised
* These can't be re-used with different pipelines, there is only one version
  (specialised or not) when the object is created. When looking up reflection
  for a shader we use the pipeline only to find the right one so this would
  cause the lookup to fail.
2026-06-08 11:03:51 +01:00