Chia-I Wu
8552eec7a1
Fix android compile errors on NDK 27+
...
ALooper_pollAll was obsoleted since NDK 27 and resulted in
renderdoccmd_android.cpp:526:8: error: 'ALooper_pollAll' is
unavailable: obsoleted in Android 1 - ALooper_pollAll may ignore
wakes. Use ALooper_pollOnce instead. See The API documentation for
more information
Since we poll from within a loop, we can replace it by ALooper_pollOnce
directly. But to be on the safe side, do this only on NDK 27+.
2026-02-01 03:15:38 +09:00
Chia-I Wu
4f0e117359
Fix android compile errors on JDK 20+
...
Java 7 support was dropped since JDK 20. We should be able to target
Java 8 without compatibility concerns because we run the bytecode
through dex which desugars (or fails at build time which does not
happen). But to be on the safe side, print a warning.
2026-02-01 03:15:38 +09:00
Chia-I Wu
2b88b2c3ae
Silence compile errors with clang 19.0.0git
...
-Wcast-function-type-mismatch was added in clang 19.1. Change the
version check to "VERSION_GREATER 19.0.999" instead.
Add -Wno-vla-cxx-extension for ihv/arm to silence
gator_api.cpp:312:15: error: variable length arrays in C++ are a
Clang extension [-Werror,-Wvla-cxx-extension]
2026-02-01 03:15:38 +09:00
baldurk
bd78fcc473
Update multiview test to check shader exported viewport
...
* This also has code to support the qcom implicit viewport, but we disable that
path by default since it would break all the single-viewport tests.
2026-01-30 18:11:41 +00:00
baldurk
a5d5e4d7fe
Check for multiview geometry feature
...
* This means the triangle size overlay will not be available.
2026-01-30 18:01:50 +00:00
baldurk
c991d66b83
Add support for VK_QCOM_multiview_per_view_render_areas. Closes #3269
...
* When a shader doesn't export ViewportIndex, we treat it the same as our
assumption that a 1:1 set of viewports will be selected by the shader.
2026-01-30 18:01:49 +00:00
baldurk
cffb9fd380
Assume 1:1 mapping if one viewport is bound per multiview view
...
* This is not necessarily guaranteed as the viewport is selected by a shader
export, but this is a very sane default and showing viewport 0 for all views
is much more likely to be wrong.
2026-01-30 15:59:20 +00:00
baldurk
0751b56668
Render each view individually for triangle size overlay
...
* We use the RP which naturally broadcasts to views and discard in the pixel
shader
2026-01-30 15:59:20 +00:00
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 Palandri
772e697fed
Allows more than 3 lines per annotation to be shown
2026-01-28 14:42:10 +00:00
Remi Palandri
aaf19a128c
add metadata support to annotationviewer for buffers
2026-01-28 14:42:10 +00:00
Remi Palandri
ec24a6ca4b
read __rd_format as default format if none other are available
2026-01-28 14:42:10 +00:00
Remi Palandri
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 Palandri
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 Palandri
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 Camacho
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