Commit Graph

1351 Commits

Author SHA1 Message Date
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
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
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
Jake Turner 0bed011093 GL_Shader_Debug_Zoo Test for read only resource array (sampler2d) 2026-01-26 10:47:55 +13:00
Jake Turner eba1a12648 DXIL Shader Debugger test using enum 2026-01-24 08:17:04 +13:00
Jake Turner 1028a7b458 GL_Shader_Debug_Zoo Test for interpolation qualifiers
flat
noperspective
2026-01-20 06:24:06 +13:00
Jake Turner 9678e09f3b GL_Shader_Debug_Zoo Test for uniform bool 2026-01-20 06:24:06 +13:00
Jake Turner 7782bc3452 Make VK_Graphics_Pipeline debugged pixel test fail instead of an error 2026-01-08 06:57:56 +13: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 1b5543e74f Fix D3D12 Compute Derivative Tests
Use groupId for the output buffer index to match the python
Only output results for workgroup 1,0,0

Do not reset test failing to false in check_compute_derivative_tests()
2025-12-22 09:03:33 +13:00
Jake Turner 3767d5da0c Added D3D11, D3D12 shader debug tests for CalculateLevelOfDetail* 2025-12-14 08:11:14 +13:00
Jake Turner 1b56d385fe D3D12 Test cases for SM6.6 Derivatives in Compute Shaders
HLSL
ddx()
ddx_coarse()
ddy()
ddy_coarse()
ddx_fine()
ddy_fine()

CalculateLevelOfDetail()
CalculateLevelOfDetailUnclamped()
Sample()
SampleBias()
SampleCmp()
2025-12-12 12:02:16 +13:00
Jake Turner e2ca32a348 D3D12_Subgroup_Zoo tests for Quad Ops in Compute Shader
QuadReadLaneAt
QuadReadAcrossDiagonal
QuadReadAcrossX
QuadReadAcrossY
QuadAny
QuadAll
2025-12-11 15:39:19 +13:00
Jake Turner abbe6d128a D3D12 EI test for setting a single 32-bit root constant 2025-12-03 11:20:19 +13:00
Vladislav Korytsko 8530da8274 Fix dataSize calculation in WriteToSubresource
Corrects width, height, and depth calculation in WriteToSubresource for the specified subresource when storing provided source data blob. Using base resource dimensions could have led to source-data read access violation.
Also updates corresponding test to validate subresource modification.
2025-12-03 05:56:55 +09:00
baldurk 09a0c34979 Add manual implicit bias path for Android 2025-12-02 12:37:19 +00:00
baldurk e85651545f Add test of GL shader debugging 2025-12-02 12:17:36 +00:00
Jake Turner 34ce4035d0 VK_Subgroup_Zoo tests for Quad Ops in Compute Shader
subgroupQuadBroadcast
subgroupQuadSwapDiagonal
subgroupQuadSwapHorizontal
subgroupQuadSwapVertical
subgroupQuadAny
subgroupQuadAll
2025-11-27 12:42:21 +13:00
Jake Turner 97755b5ebb Test cases for VK_KHR_compute_shader_derivatives
dFdx, dFdy, dFdxFine, dFdyFine, dFdxCoarse, dFdyCoarse

OpImageQueryLod (textureQueryLod)
OpImageSampleProjImplicitLod (textureProj)
OpImageSampleImplicitLod (texture)
OpImageSampleDrefImplicitLod (textureProj)
2025-11-26 11:40:22 +13:00
Jake Turner f5e63aa838 VK Shader Debug Test for function modifying inputs 2025-11-25 16:20:38 +13:00
Jake Turner 2f057a78d4 VK Shader Debug Zoo test for OpImageSampleProjDrefExplicitLod 2025-11-24 15:27:20 +13:00
Jake Turner 792afc2190 Tweaked test success message for new D3D12 EI test 2025-11-22 12:52:22 +13:00
Jake Turner a9056f1eca Add a D3D12 EI test case for an EI which does not need a root signature
EI with:

D3D12_VERTEX_BUFFER_VIEW
D3D12_DRAW_ARGUMENTS
2025-11-20 15:41:32 +13:00
Jake Turner 67fc8618a7 Move the recent D3D12_Shader_Debug_Zoo tests to the noResources shader 2025-11-19 10:44:18 +13:00
Jake Turner ae927151c6 Tweak to compute the vk_workgroup_group pipename from GROUP_SIZE_XYZ 2025-11-19 10:44:18 +13:00
baldurk ccbe3c8cce Propagate up failure through expand sections in test results 2025-11-18 17:59:12 +00:00
Jake Turner 0d695da164 Set the d3d12path for d3d12 tests before caching the d3d12 capabilities 2025-11-18 11:40:04 +13:00