Commit Graph
777 Commits
Author SHA1 Message Date
baldurk 430286642d Mark OOB reads in cbuffers as truncated 2026-08-03 21:15:19 +01:00
baldurk 8251a21f89 Add support for VK_EXT_shader_64bit_indexing 2026-07-24 17:52:47 +01:00
baldurk 40570791a4 Add support for VK_EXT_depth_bias_control 2026-07-21 16:05:07 +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
baldurk 748aeee584 Fix inconsistencies in exports D3D12 html state. Closes #3823 2026-04-16 14:00:58 +01:00
Jake Turner f77ab6bd29 Remove ResourceUsage member view (which was optional)
No longer used anywhere
2026-03-19 09:37:03 +00:00
baldurk 7bb20b1d3a Fix for linux macro #define minor() 2026-03-14 10:31:47 +00:00
baldurk 6e3a0201a8 Determine python version from python module directly 2026-03-13 13:07:44 +00:00
baldurk c14a4807ba Fix crash when postvs cache is cleared if old buffers are referenced 2026-02-11 13:30:21 +00:00
Jake Turner cbecdfacb0 Add new replay API void ReloadShaderDebugInformation() 2026-02-06 11:36:38 +13:00
Jake Turner 5135ef6f75 Add rdcstr debugInfoLoadingLog to ShaderDebugInfo 2026-02-06 10:02:19 +13:00
baldurk fcf298cff9 Implement support for predication on D3D12. Closes #2095 2026-02-04 22:33:57 +00:00
baldurk 650458beae Add helpers for managing annotations in structured data 2026-01-28 14:42:09 +00:00
baldurk 8f0a408a2b Add a new in-application API for setting user-specified annotations 2026-01-28 14:42:08 +00:00
baldurk 8f7208fa02 Add beginsWith helper to rdcinflexiblestr 2026-01-22 12:16:05 +00:00
baldurk 43cde7debd Remove GetLiveID entirely 2026-01-05 22:51:39 +00:00
baldurk 856c838def Update copyright years to 2026 and fix copyright ranges
* In a previous update in 2021 many copyright ranges were truncated
  accidentally, and some files have been copy-pasted with wrong years. These
  dates have been fixed based on git history and original copyright messages.
2026-01-05 14:17:28 +00:00
Jake Turner 10cf43b703 ICaptureAccess APIs for externally referenced dependency files
ResultDetails EmbedDependentFilesIntoCapture();
ResultDetails RemoveDependentFilesFromCapture();
int32_t CountEmbeddedDependentFiles();
int32_t CountExternallyReferencedFiles();
rdcarray<rdcstr> GetExternallyReferencedFiles();
2025-12-11 11:13:29 +13:00
Jake Turner 0d1220aab9 Missing UnregisterMemoryRegion() in ~ReplayController 2025-12-10 22:04:36 +13:00
baldurk 4e215518df Force evaluation of any lazy structured data on fatal error 2025-11-11 16:59:42 +00:00
baldurk 7cd77b5812 Reset descriptor access when moving to dummy driver after fatal error 2025-11-11 12:25:35 +00:00
baldurk 26cf7d3d7f Ensure shader reflection information is stored as const
* Avoids accidental modifications
2025-09-22 11:58:56 +01:00
baldurk 1e0f960635 Don't allow implicit scalar to vector casts in Vec helpers
* With all default parameters in the constructor `Vec4f foo = 1.0f` would be
  legal by implicit constructor.
2025-09-19 14:13:01 +01:00
baldurk 858cfab281 Improve positioning for pixel context highlight for NPOT textures 2025-09-19 14:13:01 +01:00
baldurk c25161a759 Allow aliasing between different descriptor types silently
* Also make the error about duplicate keys less severe - this can happen in
  practice as different views boil down to the same descriptor bytes and
  applications don't use only one view.
2025-09-08 16:35:41 +01:00
Jake Turner 7b404168eb trie test: keys with common prefixes, added in all possible orders 2025-09-08 08:15:23 +01:00
baldurk 283432a5dd Add test of trie key that is pure prefix of unique previous key
* We already test this later when the prefix is in an already split node.
2025-09-03 09:37:08 +01:00
Hans-Kristian Arntzen c800a59159 Fix bad merge for aliased descriptors. 2025-09-01 01:46:51 +09:00
baldurk dbeeb67459 Display a specific message for resources with no usage tracked
* Currently we only track usage for buffers and textures.
2025-07-31 17:10:14 +01:00
baldurk 799a9a8452 Report and display descriptor buffer state in pipeline view 2025-07-30 22:10:25 +01:00
baldurk ceb062b658 Add a DescriptorType to GetDescriptors query
* This will be optional in many cases but for some situations might be required
  when type information is not implicitly available in the descriptor store.
  Generally it should always be available unless the descriptor store is being
  viewed 'blank' purely from its contents with no other context.
2025-07-30 22:10:23 +01:00
baldurk a7378e525e Merge descriptor ranges correctly in GetDescriptors calls 2025-07-29 21:43:31 +01:00
baldurk 279379c3be Fix potential trample in trie re-using leaf 2025-07-10 17:52:30 +01:00
baldurk 0293487eb8 Properly handle D3D11 constant buffers with a 0 range specified 2025-07-04 14:10:51 +01:00
baldurk 6be083f66a Display space and register for root parameters in root signature viewer 2025-06-30 11:06:13 +01:00
baldurk 81d5ca7c35 Add a trie lookup handler from a byte sequence key
* This is intended for write-only so does not support removing keys at all.
2025-06-06 12:16:54 +01:00
Tristan Ritchie 2eade4650b Add support for VK_KHR_maintenance5 2025-03-19 15:43:08 +00:00
baldurk 2322e165de Update copyright years to 2025 2025-03-14 18:54:37 +00:00
baldurk 78d67d334a Fix out of bounds destruction in rdcarray insert
* Update unit tests to catch this case (ideally/practically).
2025-03-04 11:33:43 +00:00
baldurk 31d29fcea1 Add python function to clear replay cache 2025-02-21 14:19:12 +00:00
baldurk 3c5ce8a84a Remove unused API function
* Headless windows are used as immutable in tests so allowing resizing is
  unnecessary complication
2025-01-13 11:09:10 +00:00
baldurk cd84566b1c Fix case where PreprocessLineDirectives could eat preamble before #line
* This would happen if a #line referenced the file it was already in - we would
  only start outputting lines starting from the first one. Normally in this case
  there's a #line before any text, but that's not guaranteed.
2025-01-10 15:51:26 +00:00
Honeybunch 3ea9735866 Mesh Shader Debugging 2024-11-20 10:50:14 +00:00
Shahbaz Youssefi 76b6d47f9c Support VK_KHR_dynamic_rendering_local_read
Fixes #3341
2024-11-04 16:58:03 +00:00
Aras Pranckevicius 8917bc5416 Refactor: rename dds_data -> tex_data
And move it out into a tex_data.h header. This is in preparation
for getting mipmaps out of EXR files, where read_dds_data for
that would be a bit confusing.
2024-11-04 15:52:30 +00:00
Jake Turner 84c7906a7a DXIL Debugger support for DXOps: IsNan, IsInf, IsFinite, IsNormal 2024-10-24 16:24:41 +01:00
baldurk 5d0a85e8ca Allow 'expected errors' in tests for RDResult returns
* This fixes the issue that tests of out-of-bounds and error behaviour trigger
  debugbreaks. We don't apply this to RDCERR (currently) as it would generate
  more code overall and it's easier to convert any new deliberate test errors.
2024-10-04 10:31:12 +01:00
Jake Turner 66a43b3d45 Moved var_dispatch_helpers.h to replay/common folder
To enable sharing ShaderVariable helpers for the SPIRV and DXIL Shader Debuggers
2024-09-20 17:44:41 +01:00
Jake Turner 811ec2a5bd Do not crash in OpenCapture if m_RDC is NULL
The NULL case was being handled for setting the return code and then Error() was being called on a NULL m_RDC
2024-08-05 17:50:37 +01:00
Jake Turner a711d219d1 Serialise ShaderDebugInfo::entrySourceName Closes #3353
Required to get the correct entry point when working with remote captures
2024-06-12 15:22:56 +01:00