baldurk
0b9a36b581
Fix ID registration when false-duplication happens on replay
...
* We normally deduplicate during capture, but replay can introduce new
duplication against internal objects. Using ReplaceResource() would fix this
but updating the wrapper map is necessary for D3D11 to query current state
properly.
2026-04-16 14:00:55 +01:00
baldurk
c610f14a0c
Use uint64 for internal co-ordinates in sparse tracker
...
* Without this then buffers over 32-bit range which are treated as a 1D resource
could fail. Note that most APIs don't actually behave well with >=4GB buffers.
2026-04-15 22:12:33 +01:00
Jake Turner
3ba5cc499d
D3D12_Execute_Indirect Test for large draws with Quad Overlay(Pass)
2026-04-14 17:28:55 +01:00
Jake Turner
2361be9f36
Add shader debug test to D3D12_Descriptor_Indexing
...
Tweak test shader to exercise shader debug simulation of SM6.6 direct heap access
2026-04-14 14:18:16 +01:00
Jake Turner
e9bce39efc
Ignore empty before/after for resource ShaderVariables in validate_trace
2026-04-14 13:26:29 +01:00
Jake Turner
62ae80f3ff
D3D12_Shader_Debug_Zoo test for root signature ByteAddressBuffer
2026-04-13 14:48:54 +01:00
Jake Turner
022a63e1bc
Remove extra rdtest.log.end_section in VK_Mesh_Shader
...
Fixes HTML output
Move the other VK_Mesh tests over to use "with rdtest.log.auto_section" construct
2026-04-09 09:42:33 +01:00
Jake Turner
3cbf516e5f
Extend VK_Resource_Usage test
...
* Descriptor Set: IndirectDraw, IndirectDrawIndexed, IndirectDispatch
* Secondary Command Buffer: Descriptor Set: IndirectDraw, IndirectDrawIndexed, IndirectDispatch
2026-04-08 13:57:33 +01:00
Jake Turner
a83e75e58a
D3D12 Shader Debug test for handling of bool literals and negation
...
DXIL/LLVM represents a bool as i1
2026-04-03 16:55:46 +01:00
Jake Turner
fb8d1e0ed8
Extend VK_Resource_Usage test
...
A specific demos test instead of using the VK_Simple_Triangle demo
* No Descriptor Set: Draw, DrawIndexed
* Descriptor Set: Draw, DrawIndexed
* Descriptor Buffer: Draw, DrawIndexed
* Secondary Command Buffer: No Descriptor Set: Draw, DrawIndexed
* Nested Secondary Command Buffer: No Descriptor Set: Draw, DrawIndexed
* Descriptor Set: Compute Dispatch
* Descriptor Buffer: Compute Dispatch
* Secondary Command Buffer: Descriptor Set: Compute Dispatch
* Nested Secondary Command Buffer: Descriptor Set: Compute Dispatch
2026-03-31 15:49:46 +01:00
Jake Turner
eb30aebfdf
Add more overloads for VulkanGraphicsTest::setName
2026-03-30 13:27:30 +01:00
Jake Turner
3d9099bc78
Assign flags in vkh::ComputePipelineCreateInfo constructor
2026-03-30 13:27:21 +01:00
Jake Turner
759f1734ac
Fix Validation Warnings in VK_Descriptor_Heap
2026-03-26 08:38:41 +00:00
widberg
ec8f1d51f5
Move alignas
...
Placing `alignas` before the type is more in-line with the C++ standard,
Microsoft Learn examples, and other places in this codebase. While the
old way worked with MSVC, this is more consistent and improves
compatibility with other tools without affecting the MSVC build.
2026-03-25 00:31:43 +09:00
baldurk
3f08b821e5
Remove file from installer reference
2026-03-24 09:48:24 +00:00
Jake Turner
e53f27ef06
Added VK_Resource_Usage to check resource usage without a replay
2026-03-19 16:03:56 +00:00
baldurk
aebb1f90ee
Fix AoS output in mesh viewer being incorrect with mesh shaders
...
* This would generally only come up with gl_PerVertex, and was hidden before
because gl_Position is the first member. It likely would also reproduce if a
user had a struct output from the mesh shader.
2026-03-16 15:12:30 +00:00
Jake Turner
337f5f20e5
Update VK_Parameter_Zoo test to macth the extra submit in the test
2026-03-13 17:31:17 +00:00
Jake Turner
c2636d7250
Add vkQueueSubmit with two submits to VK_Parameter_Zoo
2026-03-12 13:02:12 +00:00
baldurk
ef0b68d76d
Fix annotations tests to check for new vector member names
2026-03-12 12:44:35 +00:00
baldurk
dc82c117f5
Fix edge case of bitfield extract with count == numbits. Closes #3813
...
* This is only legal if offset is 0 and so degenerate, but it is valid and needs
to be handled.
2026-03-11 22:43:24 +00:00
baldurk
c2147b0233
Clarify that most info is unavailable for pixel history on secondaries
...
* Also fix a potential crash if dynamic rendering is used in secondaries.
2026-03-10 12:40:02 +00:00
Jake Turner
b243f125d9
Removed unused comment and code from VK_Custom_Resolve test
2026-03-05 08:43:39 +00:00
baldurk
6b6480fafb
Fix detection of semantic arrays to not falsely merge separated elements
...
* It's impossible to distinguish a separate TEXCOORD0 and TEXCOORD1 from an
array at TEXCOORD0. However making this an array by that same logic is fine.
We can't make an array though if there is another element in between they must
be contiguous.
2026-03-03 18:05:57 +00:00
baldurk
c5df93bbfa
Check for samplers potentially being garbage in descriptor updates
...
* If immutable samplers are used the sampler parameter of a descriptor update
could be garbage. Checked for elsewhere but not handled in descriptor update
template unwrap.
2026-03-03 17:54:46 +00:00
Jake Turner
547a64a13c
Fix GPU syncval errors in VK_Custom_Resolve
...
SynchronizationValidation with "Shader accessed heuristic"
2026-03-03 16:53:14 +00:00
Jake Turner
2fa0d466e4
Change VK_Custom_Resolve test to check for pre/post mod validity
2026-03-03 16:53:14 +00:00
Jake Turner
1cd63c2d6c
Added VK_Custom_Resolve test
...
RenderPass and Dynamic rendering for MSAA 4x target with a custom resolve shader
2026-03-02 12:49:17 +00:00
Jake Turner
b08db39817
Change VK_Indirect to only use drawIndirectCount if it is available
2026-03-02 09:12:00 +00:00
baldurk
9e52aa1a5f
Update volk to latest
2026-02-24 14:56:39 +00:00
Jake Turner
1dad34a8ef
VK_Shader_Debug_Zoo fix bad spirv on packed integer dot product tests
...
spirv-val and spirv-as identified the problem
Add missing PackedVectorFormat4x8BitKHR packed format tests
2026-02-23 11:02:42 +00:00
baldurk
a2fbdf5e79
Update volk to latest
2026-02-13 16:04:08 +00:00
baldurk
e3b4ff8395
Update vulkan headers to 1.4.343
2026-02-13 13:06:20 +00:00
baldurk
a4b8179794
Fix query tracking to be per-cmdbuf on replay. Closes #3797
2026-02-13 13:06:19 +00:00
Jake Turner
a1b8ed58db
Default Demos Apple uses "VK_EXT_metal_surface"
...
Instead of "VK_MVK_macos_surface"
2026-02-09 20:06:59 +00:00
Jake Turner
56de707492
Demos support for "VK_EXT_metal_surface" on Apple
2026-02-09 20:06:59 +00:00
Jake Turner
9b457ed91d
Add void *layer to Demos AppleWindow
...
layer is required for "VK_EXT_metal_surface"
2026-02-09 20:06:59 +00:00
Jake Turner
305d65432e
Apply cmake 4.0 version tests to demos project
...
Copied over from main RenderDoc CMakeLists.txt
2026-02-09 20:06:59 +00:00
baldurk
1f29df7bfb
Add test for D3D12 predication
2026-02-04 22:33:57 +00:00
Jake Turner
1bd80b13cc
Extend VK_Mesh_Shader tests for struct arrays, struct in a payload
2026-02-04 13:25:18 +13:00
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
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
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
Jake Turner
0bec9e0a0c
Add struct array to VK_Mesh_Shader task out
2026-01-29 09:16:48 +13:00
baldurk
965d1c9568
Add demo tests for annotations
2026-01-28 14:42:11 +00:00