baldurk
4fffe30bd4
Allow adding custom log outputs that aren't filenames
2026-09-11 19:19:26 +01:00
baldurk
d7cbb743e4
Set more tests to use common check_vertex_debug() helper
2026-09-11 19:19:26 +01:00
baldurk
fc27cf0deb
Add ability to run tests in parallel
2026-09-11 19:19:26 +01:00
baldurk
73545f0a51
Fix failed test movement for truncated logs
2026-09-11 17:27:36 +01:00
baldurk
8b492631c4
Allow multi-word test names in javascript processing
2026-09-11 17:27:36 +01:00
baldurk
3cc984148c
Put demos temp files in each demo's tmp directory
2026-09-11 17:27:36 +01:00
baldurk
d827d9be95
Pick default python module when running tests on windows
2026-09-11 15:04:05 +01:00
baldurk
748e089b15
Fix remaining static analysis identified issues in python test code
...
* This includes:
- Incorrect comparisons
- Missing type annotations where it can't be inferred
- Variable shadowing and bad use
- Unused imports
- asserts for non-None on types
* Passes clean on strict pyright checking except for
`reportMissingParameterType`, `reportUnusedVariable`, and
`reportOptionalMemberAccess` which are all too spammy and low value to be
worth addressing.
2026-09-11 15:04:05 +01:00
baldurk
1409c071a9
Split apart util.value_compare_diff to have better type annotation
2026-09-11 15:04:05 +01:00
baldurk
12636a1607
Switch from str.format to f-strings in tests
...
* These were available for python 3.6 too so was never any reason not to use
them except not being aware they existed.
2026-09-11 15:04:04 +01:00
baldurk
62e38bc249
Use helper config struct in Draw_Zoo instead of untyped dict
2026-09-11 15:04:04 +01:00
baldurk
796b68c1a8
Unify code to check mesh/task data against reference
...
* Also change the task payload data layout to match meshes, with one 'vertex'
(payload) per task thread
2026-09-11 15:04:04 +01:00
baldurk
ec36d155bc
Remove redundant type annotations
...
* These come from long ago when using PyCharm with not as good type checking and
with renderdoc module stubs that were incomplete so needed help identifying
types.
2026-09-11 15:04:04 +01:00
baldurk
79a5086a0c
Handle assert failures in logger directly, remove TestCase.check
...
* assert is handled specially by the type checker so we don't want to have
duplicate self.check / assert
* The original reason for TestCase.check was to print the assertion message but
this can be handled by checking for the AssertionError exception
2026-09-11 15:04:03 +01:00
baldurk
fd55020165
Add helper for checking vertex debugging matches postvs
...
* There are a few 'extras' here as the uses aren't quite uniform, but they are
close enough it makes sense to have a common helper
2026-09-11 15:04:03 +01:00
baldurk
60c83d0483
Add mkdir for wsl build
2026-09-11 10:47:15 +01:00
baldurk
7282ec87a7
Explicitly call msiexec.exe as WSL doesn't auto-check .exe suffix
2026-09-11 09:57:48 +01:00
baldurk
db6440a859
Check that zip and msi contents match in build process
2026-09-10 11:39:39 +01:00
baldurk
903447260a
Fix copy-paste error in 64-bit installer
2026-09-10 10:55:04 +01:00
baldurk
6a61a89797
Add missing libffi/shiboken2 files to installer manifests
2026-09-09 22:50:46 +01:00
Jake Turner
033ce407b4
VK_Resource_Usage tweaks
...
- give names to: Queue, Framebuffer, Swapchain Image, Swapchain Image View, Shader Modules
- rename "barrerCmdSubmitFence" -> "barrierCmdSubmitFence"
- add a marker "Barrier Command Submit Fence"
2026-09-09 15:24:59 +01:00
Jake Turner
30c78d389a
Add VulkanGraphicsTest::setName() overload for VkQueue & VkShaderModule
2026-09-09 15:24:59 +01:00
Jake Turner
d08b53fd64
In Vk_Resource_Usage Python compute EIDs and reduce hard coded EIDs
2026-09-09 15:24:59 +01:00
Jake Turner
0c69b86d7c
D3D12_Execute_Indirect: skip checking all overlays inside the large EI
...
Inside the large EI draw with a count of 256: only check a few EIDs at the start and end of that EI.
Reduces the test time and the EIDs being skipped are not exercising different code paths during replay.
2026-09-09 15:17:00 +01:00
Jake Turner
356684b378
D3D12_Execute_Indirect Increase count buf draw count to 256
...
A small stress test to exercise RenderDoc resolving of EI actions during loading
2026-09-06 19:48:14 +01:00
baldurk
69a9c09ecd
Use correct clear colour for UINT discard texture
2026-08-26 09:23:58 +01:00
baldurk
30c817486e
Fix bad casts on overlay texture pixel picking
2026-08-25 15:29:58 +01:00
baldurk
752543e0fe
Don't test 1D block compressed textures in vulkan texture zoo
2026-08-25 13:19:05 +01:00
baldurk
1a3e8c79bf
Loosen precision requirements on vulkan shader debugging
...
* Test 185 does repeated pow() calls and the precision difference seems to
accumulate on mesa drivers at least.
2026-08-24 23:25:58 +01:00
baldurk
fc50157566
Use 0.5 for depth-equal test so it works on various precisions
2026-08-24 17:46:21 +01:00
baldurk
57a0d90aac
Ensure we have a depth buffer for GL depth bounds test
2026-08-24 17:04:14 +01:00
baldurk
e43b7c14d3
Use correct path for python libs in package
2026-08-15 13:40:26 +01:00
baldurk
02636139fd
Update Qt download link in docker script
2026-08-15 13:22:58 +01:00
baldurk
4728158bcf
Update docker build to compile python 3.8 for linux builds
2026-08-15 13:16:28 +01:00
baldurk
0f50ff29c5
Update installer config to expect python 3.8
2026-08-13 21:05:12 +01:00
baldurk
1416d92b09
Use properties consistently for custom dependency paths on windows
...
* This removes the (now undocumented) python env vars, and the never documented
Qt env vars. We add new build script arguments to specify these paths.
2026-08-13 21:05:12 +01:00
baldurk
950568fb8f
Rename previous/next to previousAction/nextAction in ActionDescription
...
* swig internally creates 'next' member which we normally want to avoid, so
prevent shadowing here by using a distinct name.
2026-08-13 17:46:47 +01:00
baldurk
3f653cfbf2
Remove RENDERDOC_GetDefaultCaptureOptions, initialise in constructor
2026-08-13 17:46:46 +01:00
baldurk
388f914b3a
Add a script for building a pythonXY.zip
...
* This is the only thing missing from an installed version of python to be able
to build against it, so it's convenient to rebuild it instead of fetching it
separately from the embeddable distribution
2026-08-13 17:46:39 +01:00
Jake Turner
e807742444
Tweak RenderPass setup/usage in VK_Resource_Usage
...
Use the mainWindow RenderPass everywhere
2026-08-10 07:25:32 +01:00
Jake Turner
0219134aa8
Add test to D3D12_Parameter_Zoo for DXIL CST_CODE_CE_GEP (12)
...
DXC emits CST_CODE_CE_GEP for constants which are not in bounds
RenderDoc treats it the same as CST_CODE_CE_INBOUNDS_GEP (20)
2026-08-10 07:22:36 +01:00
Jake Turner
5a1b2c23e1
Extend D3D12_Annotations test
...
- loose event annotation
- a barrier at end of command buffer
- at end of command buffer attached to CommandList Close
- command buffer with no actions, just set marker
- annotations before/during/after ExecuteIndirect calls
2026-07-30 16:36:02 +01:00
Jake Turner
c559aa64af
Check indirect action names in D3D12_Execute_Indirect
2026-07-30 16:36:02 +01:00
Jake Turner
6df99e4d94
Extend python helper functions for D3D12 indirect action names
2026-07-30 16:35:53 +01:00
Jake Turner
9b942d0533
Extend D3D12_Execute_Indirect: add tests with a count buffer
...
- MaxCount: 1024 CountBuf: 5
- MaxCount: 1 CountBuf: 7
- MaxCount: 0 CountBuf: 11
2026-07-27 21:23:13 +01:00
baldurk
d0030787c6
Fetch inputs and allow debugging for VRS. Closes #3705
2026-07-27 17:10:14 +01:00
baldurk
c6c8f807c9
Update VK_Image_Layouts test to check preinitialised data also
2026-07-24 17:52:48 +01:00
baldurk
ccc110c57e
Fix some validation errors in tests
2026-07-24 17:52:48 +01:00
Jake Turner
40d6d5fd8a
Extend VK_Annotations test
...
- loose event annotation
- a barrier at end of command buffer
- at end of command buffer attached to vkEndCommandBuffer
- command buffer with no actions, just set marker
- annotations before/during/after vkCmdDrawIndirectCount calls
2026-07-22 15:29:08 +01:00
Jake Turner
a2d133c353
Change the DrawMeshIndirect parameters in VK_Resource_Usage
2026-07-22 06:02:26 +01:00