Commit Graph
16702 Commits
Author SHA1 Message Date
baldurk 6a915b67ba Don't use pre-created pipeline for viewport/scissor overlay rendering
* This allows us to use the per-overlay renderpass which includes multiview
  properties.
2026-01-30 15:59:20 +00:00
baldurk fe7462330f Fix warning on clang for vulkan helper function 2026-01-30 15:56:14 +00:00
baldurk db74623ed5 Change array to plain member
* Some clang versions seem to complain about the storage for this being missing
  even if it's constexpr, since it's not important we make it a plain member.
2026-01-30 15:55:44 +00:00
baldurk 490935242d Explicit cast for annoying linux compilers where ULL/LL isn't int64 2026-01-30 15:54:51 +00:00
baldurk a9c590b8a2 Remove accidental commit 2026-01-30 15:54:35 +00:00
baldurk a139a9faec Fix $annot() filter not properly parsing expressions 2026-01-29 17:14:51 +00:00
Jake Turner a72067cca5 AsyncInvoke operations related to embedded dependencies 2026-01-29 11:05:10 +13:00
Jake Turner 3da3c24f34 AsyncInvoke check for AMDRGPProfile Section in OnCaptureLoaded 2026-01-29 11:05:10 +13:00
Jake Turner 1b47b019b2 Fix Vulkan Mesh/Task Shader payload structs containing struct arrays 2026-01-29 09:26:17 +13:00
Jake Turner 0bec9e0a0c Add struct array to VK_Mesh_Shader task out 2026-01-29 09:16:48 +13:00
baldurk 7fc2ca7d7b Add empty interface implementation to metal 2026-01-28 15:34:09 +00:00
baldurk 7bc917af81 Add explicit instantiation of SDObject serialiser 2026-01-28 15:10:38 +00:00
baldurk 2d1c7653f5 Add an analytic flag for use of custom annotations API 2026-01-28 14:42:11 +00:00
baldurk 565fe17ba2 Add API and usage documentation for custom annotations system 2026-01-28 14:42:11 +00:00
baldurk 965d1c9568 Add demo tests for annotations 2026-01-28 14:42:11 +00:00
baldurk 352b88b344 Allow double clicking on resource annotations 2026-01-28 14:42:11 +00:00
baldurk 58eb49ce5b Expand RDTreeWidget to allow per-item go column
* This lets us use the existing logic for hovering columns, to get things like
  the hand cursor, while still only showing it for resource entries.
2026-01-28 14:42:11 +00:00
baldurk 2dd3df5aa1 Resize annotation key column to fit contents
* All other space is used by the value
2026-01-28 14:42:11 +00:00
baldurk 73f441f6c3 Ensure annotations are displayed for default event on capture load 2026-01-28 14:42:11 +00:00
baldurk 070177c232 Use natural sort to sort children in annotations 2026-01-28 14:42:11 +00:00
baldurk 3454404a55 Clear current annotation in resource inspector on capture close 2026-01-28 14:42:10 +00:00
baldurk 6c0d1ed057 Fix regenerate stubs script not having proper path separators 2026-01-28 14:42:10 +00:00
baldurk 0e338ac867 Update app API header in demos project
* Also query for the latest API, this is effectively an internal user we can
  assume we're running against the latest version of our own API.
2026-01-28 14:42:10 +00:00
Remi Palandriandbaldurk 772e697fed Allows more than 3 lines per annotation to be shown 2026-01-28 14:42:10 +00:00
Remi Palandriandbaldurk aaf19a128c add metadata support to annotationviewer for buffers 2026-01-28 14:42:10 +00:00
Remi Palandriandbaldurk ec24a6ca4b read __rd_format as default format if none other are available 2026-01-28 14:42:10 +00:00
Remi Palandriandbaldurk 8f9705333a hide empty annotations
Only displays annotations when they're not an empty node (struct only) with empty children. Needs to look at children recursively, as deleting foo.bar.baz would keep foo and foo.bar alive.
2026-01-28 14:42:10 +00:00
baldurk 4afe5017b0 Add a right-click handle to show an annotation in the event browser 2026-01-28 14:42:10 +00:00
baldurk 13ad7875f2 Add annotation display in resource inspector and as standalone panel 2026-01-28 14:42:10 +00:00
baldurk 1bec491d90 Add annotation filter function to event browser filters 2026-01-28 14:42:10 +00:00
Remi Palandriandbaldurk 50a0d9c425 automatically show annotation column if requested 2026-01-28 14:42:09 +00:00
baldurk 5c8a4f144b Add a custom annotation column to the event browser 2026-01-28 14:42:09 +00:00
baldurk fec285efb7 Add D3D12 support for annotations 2026-01-28 14:42:09 +00:00
baldurk c26a5405e9 Add GL support for annotations 2026-01-28 14:42:09 +00:00
Remi Palandriandbaldurk 727f450be2 add D3D11 support for annotations on immediate context only 2026-01-28 14:42:09 +00:00
baldurk c793e9a73e Add Vulkan support for annotations 2026-01-28 14:42:09 +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
Aitor CamachoandJake Turner ba10b62149 Expose Vulkan layer entrypoints for mac 2026-01-27 21:45:06 +00:00
Jake Turner be8a5f61fc Spirv Debugger support for SPV_KHR_integer_dot_product
OpSDot
OpUDot
OpSUDot
OpSDotAccSat
OpUDotAccSat
OpSUDotAccSat
2026-01-27 16:16:30 +13:00
Jake Turner e351910071 VK Shader Debug Zoo tests for SPV_KHR_integer_dot_product
OpSDot
OpUDot
OpSUDot
OpSDotAccSat
OpUDotAccSat
OpSUDotAccSat

for 8, 16, 32, 64 bit types (signed & unsigned) and packed 32-bit vectors (4x8-bit)
2026-01-27 16:16:29 +13:00
Jake Turner 9c4a62397e Make VK_Shader_Debug_Zoo fail test not just error
Compute tests were resetting "failed" to False
2026-01-27 16:16:29 +13:00
baldurk ab7e8b0134 Add rule to CONTRIBUTING documentation banning use of LLMs etc 2026-01-26 13:25:21 +00:00
baldurk 738a5c1ea5 Track last descriptor buffer and normal descriptor set binds separately
* We need to track these separately because descriptor buffer set invalidation
  can lead to empty sets with no valid pipeline layout as the last bound set
  (since we can't _clear_ the descriptor sets when descriptor buffers are
  invalidated, as there may be a descriptor set binding there). Track these
  separately so we can pick the right set to bind from if we don't have a known
  pipeline layout, and also handle the case where there are descriptor set
  states but the last bound is not valid.
2026-01-26 13:25:21 +00:00
baldurk 55bcd77624 Allow querying device UUIDs too via dxgi GetDevice 2026-01-26 13:25:21 +00:00
Jake Turner 18ab43ae99 Extend the GL shader debugger to handle resource arrays
Part of the fixes for Issue 3763
2026-01-26 11:33:09 +13:00
Jake Turner 25da813b40 Extend GL reflection matching to SPIRV reflection for resource 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-01-26 10:59:50 +13:00
Jake Turner 811c6c6ecc ShaderViewer uses GetShaderDebugVariable() when matching resource vars
This matches how debug variables are matched
This supports source mapping to resources which are a child member of a ShaderVariable i.e. an array element
2026-01-26 10:49:09 +13:00
Jake Turner 0bed011093 GL_Shader_Debug_Zoo Test for read only resource array (sampler2d) 2026-01-26 10:47:55 +13:00
Jake Turner 993842ecf2 Always set the baseType for DXIL debug data DW_TAG_enumeration_type 2026-01-26 10:04:20 +13:00