Commit Graph

16782 Commits

Author SHA1 Message Date
Alexander Obzherin c3142d1fc6 FreeBSD: implement threading backend (name, cores, semaphore) 2026-02-26 20:13:07 +09:00
Alexander Obzherin 60511ab657 FreeBSD: fix FunctionLoadCallback signature 2026-02-26 20:13:07 +09:00
baldurk f42b33479b Improve debug toggle log button 2026-02-25 16:29:49 +00:00
baldurk b79f32535f Update key for host after transfer 2026-02-25 13:11:13 +00:00
baldurk b84a42da6f Fix typo left in by accident 2026-02-25 12:20:15 +00:00
baldurk cab8c4f649 Only try to read annotations when capturing
* This iterator will be invalid on replay
2026-02-25 11:32:59 +00:00
baldurk 9e52aa1a5f Update volk to latest 2026-02-24 14:56:39 +00:00
baldurk fb57ff7dba Fix typo of casing on cmake-generated layer json 2026-02-24 11:45:30 +00:00
Jake Turner 7bd3fe38f7 DXBC Shader Debug logging tidyup
Show
"Found debug data in the shader"
instead of
"Found debug data in the shader ''"
2026-02-23 14:41:40 +00:00
Jake Turner 4a30e1ad8a Fix typo in name GetInitialShaderBob() -> GetInitialShaderBlob() 2026-02-23 11:39:22 +00:00
Jake Turner 2815523744 D3D12 Mesh Dispatch PostVS show error when mesh buffer is too large 2026-02-23 11:02:42 +00:00
Jake Turner f9a3cf6193 Check for PackedVectorFormat in SPIRV debugger interger dot products 2026-02-23 11:02:42 +00:00
Jake Turner 1dad34a8ef VK_Shader_Debug_Zoo fix bad spirv on packed integer dot product tests
spirv-val and spirv-as identified the problem

Add missing PackedVectorFormat4x8BitKHR packed format tests
2026-02-23 11:02:42 +00:00
baldurk be77a4b24b Add new server key to ci script 2026-02-22 15:48:36 +00:00
baldurk 71d251294c Use memmove for potentially overlapping copies
* The first couple of pixels will overlap
2026-02-20 13:39:07 +00:00
baldurk ab4f22f107 Ensure buffers are deleted if async processing is aborted 2026-02-20 13:38:49 +00:00
baldurk 2db8fef33e Ensure we have properly generated IDs for inline shaders 2026-02-18 13:42:04 +00:00
baldurk d1ec8ad622 Store and lookup shader data for aftermath dumps 2026-02-16 15:52:44 +00:00
baldurk edbcd6d592 Clear deferred descriptor buffer copies after executing them
* We don't want to do these copies multiple times, similar to indirect copies.
2026-02-16 15:08:08 +00:00
baldurk 5a00a246c4 Ignore VUID about access masks in pipeline barriers 2026-02-16 15:07:02 +00:00
baldurk 6cc38286ee Remove unused lambda capture 2026-02-13 16:08:58 +00:00
baldurk a2fbdf5e79 Update volk to latest 2026-02-13 16:04:08 +00:00
baldurk 8d27883043 Generate unique layer name for vulkan layer
* When self-capturing the loader now requires a unique name even if the enable
  var is different.
2026-02-13 15:27:47 +00:00
baldurk e8e20a7444 Fix potential race in memory free code on shutdown 2026-02-13 13:54:36 +00:00
baldurk 1f05fc8564 Fix potential early deletion of replay-time command buffers
* We want these command buffers to be around long enough so that we can do
  GetResID() to get m_LastCmdBufferID etc. If we delete them as soon as possible
  then an early flush (e.g. with single submit flushing enabled) could destroy
  the command buffers and lose our tracking of their IDs.
* Deferring to the next full replay won't leak much and will still keep them
  around long enough.
2026-02-13 13:38:06 +00:00
baldurk c67969d6ce Special-case and handle reported corrupt bug reports 2026-02-13 13:11:21 +00:00
baldurk e3b4ff8395 Update vulkan headers to 1.4.343 2026-02-13 13:06:20 +00:00
baldurk f1a57ff64a Update SPIR-V headers to latest 2026-02-13 13:06:19 +00:00
baldurk a4b8179794 Fix query tracking to be per-cmdbuf on replay. Closes #3797 2026-02-13 13:06:19 +00:00
baldurk 5ce2e4ae6d Fix CI badge in README 2026-02-13 13:06:19 +00:00
Jake Turner 8f82b17705 Fix Spirv Debugger Op::ImageRead of an MSAA subpass texture
The MSAA sample index was not being applied
2026-02-13 07:40:50 +00:00
baldurk 72e5a89778 Fix backwards check for value of BaseVertex SPIR-V builtin 2026-02-11 13:30:22 +00:00
baldurk c14a4807ba Fix crash when postvs cache is cleared if old buffers are referenced 2026-02-11 13:30:21 +00:00
baldurk deb0a4935c Fix incorrect type reference in SDObjectPODData 2026-02-11 13:30:21 +00:00
Jake Turner af1e922dba Clear the replay proxy shader reflection cache in ReloadShaderDebugInfo 2026-02-10 11:05:14 +00:00
Jake Turner 0cf4706333 Only prompt to reload shader debug infomation for local replays 2026-02-10 11:03:38 +00:00
Jake Turner a1b8ed58db Default Demos Apple uses "VK_EXT_metal_surface"
Instead of "VK_MVK_macos_surface"
2026-02-09 20:06:59 +00:00
Jake Turner 56de707492 Demos support for "VK_EXT_metal_surface" on Apple 2026-02-09 20:06:59 +00:00
Jake Turner 9b457ed91d Add void *layer to Demos AppleWindow
layer is required for "VK_EXT_metal_surface"
2026-02-09 20:06:59 +00:00
Jake Turner 305d65432e Apply cmake 4.0 version tests to demos project
Copied over from main RenderDoc CMakeLists.txt
2026-02-09 20:06:59 +00:00
baldurk a1473c5f84 Improve docstring checking when a class can't be instantiated
* Also print warnings for the classes that aren't being checked
2026-02-09 18:05:35 +00:00
baldurk 49e5fa40a8 Fix docstring in SDObject 2026-02-09 18:01:04 +00:00
Jake Turner cd62b87fd1 Fix DXIL Debug Source debugging not activating in specific case
If the debug source information comes from the DXBC chunk then the source filename won't have had its path separator standarised and the filename matching won't work
2026-02-06 13:05:17 +13:00
Jake Turner ba60ac46d0 UI to ask if want to reload all shader debug information in the capture
Triggered after closing the Shader debug search paths dialog
2026-02-06 11:59:17 +13:00
Jake Turner cbecdfacb0 Add new replay API void ReloadShaderDebugInformation() 2026-02-06 11:36:38 +13:00
Jake Turner c097a8b024 Add D3D12 driver support for ReloadShaderDebugInformation() 2026-02-06 11:25:15 +13:00
Jake Turner 88c8de7841 Add D3D11 driver support for ReloadShaderDebugInformation() 2026-02-06 11:24:40 +13:00
Jake Turner 51cff2e71b Add Vulkan driver support for ReloadShaderDebugInformation() 2026-02-06 11:24:40 +13:00
Jake Turner beba5213ff Add m_InitialShaderBlob to DXBCContainer
Only set when separate debug data is found and replaces the original bytecode
2026-02-06 11:24:40 +13:00
Jake Turner 0773f48ce1 Small tweak to docstring for debugInfoLoadingLog 2026-02-06 11:24:39 +13:00