Commit Graph
17499 Commits
Author SHA1 Message Date
baldurk 948df720ad Remove linked shaderc support in demos - no longer supported
* shaderc doesn't build with VS2015 so can't be linked in.
2026-10-23 23:13:17 +01:00
baldurk e61e44e1f6 Remove debug code leftover 2026-10-23 23:13:17 +01:00
baldurk 0f3010d930 Don't consider DXIL blobs to ever use vendor extensions
* This was never fully supported by RenderDoc, certainly not when debugging was
  added, and it's unclear if vendors ever supported this either.
2026-10-23 23:13:17 +01:00
baldurk 8f675fa3c2 Fix check for unbounded cbuffer arrays on DXBC
* Previous check was gated behind vendor extensions being used accidentally.
2026-10-23 23:13:16 +01:00
baldurk b62af7c64f Return success from SPIR-V parse, add overload to move SPIR-V words 2026-10-23 23:13:16 +01:00
baldurk 7bacf7f79b If saving a remote capture on shutdown, wait for transfer before exit 2026-10-23 23:13:16 +01:00
baldurk f1c7eff75b Prevent absolutely ridiculous and silly linux behaviour to kill programs
* By default on linux some send() errors will kill the process instead of
  returning an error code.
2026-10-23 23:13:16 +01:00
baldurk 64b3775332 Fix recompression of remote captures not working correctly 2026-10-23 23:13:16 +01:00
baldurk 39be707fde Ensure consistent thread usage of ICaptureAccess in the UI
* We could put everything onto the replay thread but that's unnecessary back-
  and-forth pingponging for a local capture.
* This is safe to use on the UI thread if it's local, but if it's remote it uses
  the same connection as the replay controller so must happen on the replay
  thread.
* We add a new helper (not exposed to swig) that handles this check, and for
  python we wrap the returned ICaptureAccess in an invoker that ensures we are
  on one of those threads.
2026-10-23 23:13:16 +01:00
baldurk 198bd9d673 Update VK_KHR_device_address_commands in internal doc 2026-10-23 23:13:16 +01:00
Aidan Raymond 13324a0846 Add test for VK_KHR_device_address_commands and enable extension 2026-10-24 07:11:44 +09:00
Aidan Raymond d3fbb430e7 Finish indirect hooks for VK_KHR_device_address_commands 2026-10-24 07:11:44 +09:00
Aidan Raymond 98a92086e0 Fill out hooks for vkCmdDrawIndirect2 and indirect meshlet 2 functions 2026-10-24 07:11:44 +09:00
Aidan Raymond 4c764dffec Fill out vkCmdDispatchIndirect2 and vkCmdDrawIndexedIndirect2 hooks 2026-10-24 07:11:44 +09:00
Aidan Raymond 0e4c59cd09 Fill out copy hooks for VK_KHR_device_address_commands 2026-10-24 07:11:44 +09:00
Aidan Raymond 239a67a108 Fill out cmd and resource hooks for VK_KHR_device_address_commands 2026-10-24 07:11:44 +09:00
Aidan Raymond 9523643240 Add stub function hooks for VK_KHR_device_address_commands 2026-10-24 07:11:44 +09:00
Aidan Raymond d5025c6b88 Add serializers for VK_KHR_device_address_commands types 2026-10-24 07:11:44 +09:00
Aidan Raymond bec186314d Fix handling of debug names for VkCommandBuffers 2026-10-24 04:35:32 +09:00
Jake Turner a6bb6c57aa Change EventBrowser Prev/Next buttons to work from the selected event
- Not from the current action
- This makes Prev/Next button behaviour consistent when a marker is selected
- For Next if the action has children go to the first child, otherwise the action's nextAction
- For Prev if the action has children go to the previousAction of the first child, otherwise the action's previousAction
2026-10-23 13:25:12 +01:00
Jake Turner b7f943f6c5 Use caseless string comparison for Demos test name matching 2026-10-23 13:01:30 +01:00
Jake Turner d6a4009894 Use AtomicMemoryLock around for DXIL::Opertation::CompareExchange 2026-10-23 13:01:30 +01:00
Jake Turner 4f19603216 Send DXIL Debugger Error messages to Errors and Warnings window
- Use WrappedID3D12Device::AddDebugMessage() instead of RDCERR()
- Not all RDCERRs or RDCASSERTSs have been moved over
2026-10-23 13:01:29 +01:00
Jake Turner c5fff5229a DXBC Debugger handle groupshared OOB memory access
- Change asserts to if's and errors to prevent crashes in GetGroupsharedSrc(), SetGroupsharedSrc()
- for gsm check for valid memory access using dataOffset and dataSize
  - the existing check for elemIdx >= numElems is not enough i.e. 2D arrays
2026-10-23 13:01:29 +01:00
Jake Turner abba384d45 VK_Groupshared tests for OOB GSM memory access 2026-10-23 13:01:29 +01:00
Jake Turner f179aa01c9 D3D12_Groupshared tests for OOB GSM memory access 2026-10-23 13:01:29 +01:00
Jake Turner 1432f8ba7c D3D11_Groupshared tests for OOB GSM memory access 2026-10-23 13:01:29 +01:00
Jake Turner b4f1a9a0e7 UI Test Harness use case insensitive search for test filtering 2026-10-23 13:01:29 +01:00
Jake Turner fef0760490 D3D11 & D3D12 rebuild reflection when reloading shaders to match Vulkan
- Changing PDB search path will now reload all built shaders to get any newly found PDB data tracked and ready to be embedded into the RDC file
2026-10-23 13:01:28 +01:00
Jake Turner 2c84beae9b D3D12_CBuffer_Zoo: do not check CBuffer array on SM6
- The DXIL debugger does not expand out CBuffer arrays into the debugger trace constantBlocks
2026-10-23 13:01:28 +01:00
baldurk 96ef1ae5f3 Remove Block declaration from BDA structs in asm shader test 2026-10-22 19:00:01 +01:00
baldurk 4d36d1eea2 Fix compile error in linux demos 2026-10-22 19:00:01 +01:00
Jake Turner 9212c1f9fd DXIL shader debugging calls DXIL::Program::ProcessDXIL directly
- renamed DXIL::Program::Parse() -> ProcessDXIL()
2026-10-21 12:12:00 +01:00
Jake Turner 4dbd2b105e Fix output from DXC_COMPATIBLE_DISASM mode
- it had become incorrect over time
- disable DXIL debugger when DXC_COMPATIBLE_DISASM is enabled
- don't show RD Disassembly string when DXC_COMPATIBLE_DISASM is enabled
2026-10-21 11:07:02 +01:00
Jake Turner 750440d311 Remove D3D12APIWrapper::TypedSRVStore() it is not required 2026-10-21 11:07:01 +01:00
baldurk 7aff2979a7 Also ignore attachmentCount as spec says this is ignored too 2026-10-20 15:32:10 +01:00
baldurk 64beecb16a Ignore pipeline color attachments if all states are dynamic 2026-10-20 15:29:32 +01:00
baldurk 183fbfab8a Fix demos compile error
* error C2026: string too big, trailing characters truncated
2026-10-20 13:33:44 +01:00
baldurk 4ed3ad4886 Add notes that LLM generated text for issues/PRs is prohibited 2026-10-20 10:15:59 +01:00
Jake Turner 80ee1c3ba9 DXBC Debugger SM5.1 support for all resource type arrays and operations
- previously only the resource used in the CalculateSampleGather operation would support arrays
- now includes array of Samplers, array of UAVs, array of SRVs which does not use CalculateSampleGather
2026-10-19 12:31:07 +01:00
Jake Turner 2195a47ea7 DXIL Debugger improved support for arrays of resources
- simulation support for arrays of Samplers (bounded and unbounded)
- simulation support for arrays of cbuffers (bounded and unbounded)
- add arrayed SRVs, UAVs, Samplers, cbuffers to the global state and UI
2026-10-19 12:04:07 +01:00
Jake Turner 33b0522c4f Extend D3D12_Shader_Debug_Zoo tests for arrayed resources
- bounded array of srv, uav, sampler, cbuffer
- unbounded array of srv, uav, sampler, cbuffer
2026-10-19 11:46:50 +01:00
Jake Turner ef2961d2c3 GL Spirv debugger support for arrays of UBOs, SSBOs
- bounded arrays only
2026-10-19 11:46:50 +01:00
Jake Turner 36995aefa3 Extend GL reflection matching to SPIRV reflection for UBO, SSBO arrays
GL resource arrays are expanded in the GL reflection i.e. texture[0], texture[1] but they are collapsed in the SPIRV reflection.
For SPIRV resource arrays if matching the full name fails then try to match by the expanded name i.e. texture[<ARRAY_ELEMENT>]
2026-10-19 11:46:50 +01:00
Jake Turner f69a1f91d8 Fix GL Shader Reflection for UBO arrays
- use the array basename to match for ubo variables
2026-10-19 11:46:50 +01:00
Jake Turner 729443d4fb Extend GL_Shader_Debug_Zoo tests for arrayed resources
- bounded UBO array
- bounded SSBO array
2026-10-19 11:46:50 +01:00
Jake Turner e89335822a ShaderViewer support for arrays of Samplers 2026-10-19 11:46:50 +01:00
Jake Turner 737355196a ShaderViewer support for arrays of cbuffers 2026-10-19 10:42:15 +01:00
Jake Turner e3a7f3da4c Vulkan Spirv debugger support for arrays of cbuffers
- bounded and unbounded
2026-10-19 10:34:59 +01:00
Jake Turner 6599a0d363 Extend VK_Shader_Debug_Zoo tests for arrayed resources
- bounded Uniform array
- unbounded array of Uniform, Buffer, Sampler and Tex2D
2026-10-19 10:33:10 +01:00