Commit Graph

16956 Commits

Author SHA1 Message Date
baldurk aa4e613e58 Fix docstring on IsStencilTestEnabled() 2026-05-15 20:00:13 +01:00
baldurk 54320f730c Move anchor label above function in docs
* The anchor label being inside the cpp:function entry seems to break things in
  the parameters later
2026-05-15 17:17:52 +01:00
baldurk f0b46b5fcf Include needed jquery dependency for rtd theme
* We ship this locally as python 3.6 installs an older sphinx, which doesn't
  seem to have this available.
2026-05-15 17:17:52 +01:00
baldurk 71770e23ed Use default pygments style for sphinx docs 2026-05-15 17:11:23 +01:00
baldurk 482a0f3080 Sort entries under Window menu
* These had never been in a good order, but as new windows have been added it's
  even harder to see one you want at a glance
2026-05-15 13:16:19 +01:00
baldurk 4bf3fe3019 Fix os.add_dll_directory in docs to use absolute paths 2026-05-15 13:16:08 +01:00
baldurk fe0a8c55e6 Add some extra accessors of state to common pipeline state abstraction 2026-05-15 13:16:01 +01:00
baldurk 73dc273810 Ensure vulkan dynamic offsets are applied in GetAllUsedDescriptors 2026-05-15 13:15:55 +01:00
baldurk 75ecc6ea1a Return internal handle from sys 2026-05-15 13:15:45 +01:00
baldurk deec38b1fb Add helper to check if RDTreeWidget item is expanded 2026-05-15 13:15:32 +01:00
baldurk c9b9ee51e6 Allow configuring if tree widget items are selectable or not 2026-05-15 13:15:26 +01:00
baldurk 97cda2a241 Update from toolwindowmanager repository @ 755b795 2026-05-15 13:14:56 +01:00
baldurk bccce17b97 Remove navigation elements on embedded help builds (like htmlhelp) 2026-05-15 13:09:25 +01:00
baldurk 9897b96196 Remove encoding & embedded js that breaks htmlhelp builder 2026-05-15 13:09:24 +01:00
baldurk 2811b3874b Reset sphinx rtd theme to 3.1.0 with no modifications
* The next commits will contain our customisations that we still need for chm,
  to make it clearer.
2026-05-15 13:09:24 +01:00
baldurk 206d732ade Check serialised shader tool enums against known list
* Prevents an out of bound error from corrupt configs (or configs from the
  future!)
2026-05-15 13:09:20 +01:00
baldurk 2e50599d26 Don't add replay-exclusive resources to resource list on D3D12 2026-05-15 13:09:15 +01:00
Jake Turner f2cb40edc0 For Vk DrawIndirectCount APIs add resource usage for zero draw counts
- vkCmdDrawInirectCount, vkCmdDrawIndexedIndirectCount, vkCmdDrawMeshTasksIndirectCountEXT
- zero maxDrawCount
- zero draw count from the count buffer
2026-05-13 16:10:28 +01:00
Jake Turner 7ab87fbe8e Extend VK_Resource_Usage test
- add test for vkCmdDrawIndirect with zero count
- add test for vkCmdDrawIndexedIndirect with zero count
- add tests for vkCmdDrawMeshTasksEXT
- add tests for vkCmdDrawMeshTasksIndirectEXT
- add tests for vkCmdDrawMeshTasksIndirectCountEXT
2026-05-13 14:54:15 +01:00
baldurk 6a97c6c17b Disallow debugging D3D11 shaders that use unbound constant buffer arrays 2026-05-11 14:34:30 +01:00
baldurk 7f1e0040e5 Disallow shader debugging when unbounded cbuffers are used on SPIR-V 2026-05-11 14:20:44 +01:00
Jake Turner 2805fc68f8 Mark DXIL Debugger of unbounded ConstantBuffer array as unsupported
i.e.

ConstantBuffer<Data> cbvArray[] : register(b0, space1);
2026-05-11 12:46:06 +01:00
Jake Turner 57a393f96c DXIL Debugger return 0,0,0,0 for out of bounds CB data access
Use the constant buffer reflection data to determine the size of valid data instead of the size of the bound buffer
2026-05-11 12:29:51 +01:00
Jake Turner 0a212d07d0 Add a D3D12 Shader Debug Zoo test for oob array access in a CBV
GPU will use the bytes from the bound buffer
Debugger simulation will return 0,0,0,0
2026-05-11 12:28:48 +01:00
Jake Turner a9bafd2723 Spirv debugger handle quadScope case when subgroupSize > workgroupSize 2026-05-06 18:34:25 +01:00
Jake Turner 2b634742ae Spirv debugger only set inputs for active lanes 2026-05-06 18:34:25 +01:00
Jake Turner 97149601da VK_Shader_Debug_Zoo changes for compute derivative tests
For compute quad derivatives tests use specific derivative i.e. fine or coarse.
It isn't specified which derivative mode is used, drivers differ on behaviour.
2026-05-06 18:33:03 +01:00
Jake Turner 54badbdd08 Only mark memory frame references for forced referenced buffers
With descriptor buffers more resource types were added as forced references and this ended up marking more memory as referenced than should be including potentially using uninitialised data for memOffset and memSize.
2026-05-06 13:49:44 +01:00
baldurk c79d939445 Add manual emulation of IsHelperLane() on SM <6.6
* The default dxc emulation does not work when running in MSAA as our shader
  runs at sample rate and SV_Coverage can be non-zero even for helper lanes.
2026-05-05 18:00:28 +01:00
baldurk 13b6d9a854 Use chunk offset not relative EID for AS patchbuffer lookup
* EIDs can change after initial recording of a command buffer, due to resizing
  indirect executes, causing loading and active replaying to disagree on the
  relative EID of a build. Chunk offsets are always fixed and we only need a
  unique incrementing counter.
2026-05-05 17:26:11 +01:00
baldurk c59b80b69e Fix crash on windows 7 accessing experimental D3D12 function call 2026-05-05 17:26:11 +01:00
Jake Turner ee3addbc50 Fix m_RootEventID during load/replay of VkQueueSubmit with zero count
vkQueueSubmit(0) and VkQueueSubmit2(0)
2026-05-05 13:28:32 +01:00
Jake Turner f62af14532 Add VK_Parameter_Zoo test case for VkQueueSubmit with zero count
vkQueueSubmit(0) and VkQueueSubmit2(0)
2026-05-05 13:28:32 +01:00
Jake Turner 6008228c60 DXIL Debugger look up resource name from EmtryPoint if not cached
If the resource is not referenced in the shader then it won't be cached
2026-05-05 07:26:58 +01:00
baldurk 9c4dc88642 Bump version to v1.45 2026-05-01 16:25:30 +01:00
Jake Turner 050034a0fa Add missing DoStringise() entry for DescriptorType::Buffer v1.44 2026-04-30 20:59:54 +01:00
baldurk 09fb0b0f1c Fix check when removing resources from wrapper map 2026-04-30 15:57:39 +01:00
baldurk ddc475d729 Use raw strings for regexs in python tests 2026-04-30 15:55:27 +01:00
Jake Turner fcebc9cebb Make a copy of the RootActions in TestCase.validate_eventids()
Otherwise the next call to controller.GetRootActions() will return an empty list
2026-04-28 13:12:18 +01:00
Jake Turner d0b69c7034 Add Python test helper validate_eventids()
Called when loading captures in Iter_Test and Repeat_Load

Checks the consistency of EventIds:

Walk the actions to find all the referenced EventId's:
- Error if any EventId is duplicated
- Error if the EventId's are not contiguous (with no gaps)
2026-04-24 15:50:40 +01:00
Jake Turner 20ffe66fb5 After loading a capture check the consistency of EventIds
Walk the actions to find all the referenced EventId's

- Error if any EventId is duplicated
- Error if the EventId's are not contiguous (with no gaps)
2026-04-24 14:11:37 +01:00
Jake Turner 2287790c41 Extend VK_Resource_Usage test: multiple usages, desc buffer copying
- Bind the same resource as the Indirect Buffer and the Index Buffer
  - Defines the resource usage when an indirect command binds the same resource for multiple usags i.e. Indirect + Index Buffer
- Descriptor buffer contents set by earlier command buffer than usage in a single submit
  - Verifies the resource usage submit replay is correct (one command buffer at a time)
2026-04-23 16:14:13 +01:00
Jake Turner 0384c64d81 Fix submit semaphores in VK_Resource_Usage test
Fix validation layer errors
2026-04-22 12:24:34 +01:00
Jake Turner 7da9fd2c11 Fixes for loose events on secondary command buffers
- Don't modify the command buffer loose events because the the command buffer might be executed multiple times
2026-04-21 10:39:23 +01:00
Jake Turner 93fc846cb2 Don't modify command buffer loose events when adding them via submit
The command buffer might be submitted multiple times
2026-04-21 10:39:23 +01:00
Jake Turner 15dfa312da Extend VK_Resource_Usage test: multiple command buffer submit/exec
Execute multiple secondary command buffers at once
Test loose events (barriers) on nested secondary command buffer, secondary command buffer which is submitted multiple times and a command buffer which is submitted multiple times
Submit the same command buffer multiple times
2026-04-21 10:39:23 +01:00
Jake Turner d8cb84e2ce Add setName overload for VkCommandBuffer, VkCommandPool 2026-04-21 10:37:46 +01:00
Virgile Bello ceeeaa5478 Gate multiview builtin shaders on multiview feature check 2026-04-20 17:55:24 +09:00
Jake Turner a606bcda53 Add EID shift to loose events & uaage after IndirectDraw*Count
Apply to loose events i.e. Barriers and resource usage in the current command buffer info
Fixes incorrect event ID in UI and resource usage for non-Action events at the end of a command buffer which contained IndirectDraw*Count calls
2026-04-16 16:10:00 +01:00
Jake Turner e4a3fdce0f Extend VK_Resource_Usage test
IndirectDrawCount
Loose events (barriers) after actions
2026-04-16 15:57:22 +01:00