baldurk
e5e1e286c3
Catch exceptions from process_trace in Iter_Test and print as errors
2025-06-25 10:53:46 +01:00
thisisjimmyfb
97c74415f6
VK_Large_Descriptor_Sets
...
Use remote server friendly routine to check capture file
2025-06-19 11:45:04 +01:00
Jake Turner
be6cc2d324
Verify pixel history succeeds as part of D3D12_Execute_Indirect tests
2025-05-18 12:52:56 +01:00
Jake Turner
fc956fee61
Improvements to *_Groupshared tests
...
More checking of GSM local/global cache behaviour when debugging
One test is not GPU stable and its results are verified against hard coded expectation (this is to test the expected behaviour of the local GSM cache on the active thread)
2025-05-10 11:49:43 +01:00
Jake Turner
033a4d1e5a
First version of python for *_Groupshared tests
...
Verify outval shader debugger variable matches the real generated data in outBuf
2025-05-07 12:12:57 +01:00
Jake Turner
fbb39b21a6
Extend D3D12 Shader Debug Zoo GSM tests
...
struct TestStruct
{
uint3 a;
uint3 b;
};
groupshared int gsmInt;
groupshared TestStruct gsmStruct[8];
groupshared int gsmIntArray[128];
2025-05-07 11:18:14 +01:00
Jake Turner
258ab5b6e3
Change test helper to just check for asserts (not errors)
...
Setting the Vulkan layer produces two errors
2025-04-22 14:31:43 +01:00
Jake Turner
a8de121cd0
Check for Asserts & Errors when running D3D12_Shader_DebugData_Zoo tests
2025-04-22 13:09:04 +01:00
Jake Turner
e14bc98e18
Added VK_Workgroup_Zoo, D3D12_Workgroup_Zoo tests
...
Tests specifically aimed at workgroup debugging i.e GSM and non-aligned subgroups
Not focused on unit tests of subgroup/quad instructions that is handled by *_Subgroup_Zoo
2025-04-18 13:58:09 +01:00
baldurk
a8a0e9628d
Update VK_CBuffer_Zoo test to account for glslang regression
...
* glslang now requires and uses scalar block layout for hlsl cbuffer packing
2025-04-18 13:28:19 +01:00
baldurk
f837af3066
Make sure functional test sections always match begin/end
2025-04-18 12:54:53 +01:00
Jake Turner
f50c85173b
Unified Subgroup_Zoo VK and D3D12 python
...
Improved test failure reporting
2025-04-02 08:43:30 +01:00
Jake Turner
fa9bc127b1
Add early return test case to D3D12_Shader_DebugData
...
Change python to search backwards through the instruction info to find the value for a source variable
2025-04-02 08:39:49 +01:00
Jake Turner
7f4098d835
Add vk_subgroup_zoo tests for maximal reconvergence behaviour
...
Diverged threads which re-converge at expected points
2025-03-23 12:00:53 +00:00
Jake Turner
e444aff7cf
Extend D3D12_Shader_Debug_Zoo tests
...
New pixel shader for testing which does not contain resource references
Added new tests for ddx, ddy and discard
2025-03-20 13:52:20 +00:00
Jake Turner
025a6bbf86
Extend D3D12_Resource_Mapping_Zoo test to SM6 & SM6.6
...
To test the DXIL debugger and added a test of dynamic SRV array index
2025-03-20 13:52:20 +00:00
Jake Turner
dae198b39e
Extend D3D12_Draw_Zoo to SM6 & SM6.6
...
To test the DXIL debugger
2025-03-20 13:52:19 +00:00
Jake Turner
ac2da339ae
Extend D3D12_Bufer_Truncation test to SM6.0 & SM6.6
...
To test the DXIL debugger
2025-03-20 13:52:19 +00:00
Jake Turner
9163aa76c2
Add SM6.6 tests to D3D12_CBuffer_Zoo
2025-03-20 13:52:19 +00:00
Jake Turner
b27f5d5872
Extend D3D12_PrimitiveID test to SM6
...
To test the DXIL debugger
2025-03-20 13:52:18 +00:00
Jake Turner
506d1a1222
Minor tidyup of D3D12_Mesh_Shader python
2025-03-20 13:52:18 +00:00
Jake Turner
7eef20b3db
Added demos test VK_Mesh_Shader
...
Similar on d3d12_mesh_shader test, move some helper code from d3d12_mesh_shader python to testcase.py to allow for sharing with vk_mesh_shader python
2025-03-20 13:52:17 +00:00
baldurk
9bdb5bc134
Add D3D12_Subgroup_Zoo test
2025-03-19 18:31:56 +00:00
Tristan Ritchie
2eade4650b
Add support for VK_KHR_maintenance5
2025-03-19 15:43:08 +00:00
baldurk
b400d4bc52
Refactor D3D ps input fetch to use quad swizzle helper
...
* Also centralises and shares more code between D3D11 and D3D12 to use the same
shader
2025-03-14 18:54:38 +00:00
Jake Turner
90827deed3
Add DebugPixel to D3D12_Mesh_Shader python tests
...
Validates can do shader debugging on pixels generated by mesh shaders
2025-03-12 13:50:36 +00:00
Jake Turner
7b3e1cd3f6
Free the debugger trace in multiple places during D3D12 shader tests
2025-03-09 11:30:11 +00:00
Jake Turner
9cac526d49
Add d3d12_shader_debugdata_zoo test
...
Similar to d3d12_shader_debug_zoo but instead of verifying debugger simulation accuracy used to verify debug data is parsed and present
Supports SM6.0 and the DXIL debugger - verifies debug data in pixel and compute shaders
2025-03-06 13:34:57 +00:00
Jake Turner
5120723135
Add Shader source variable helper functions to rdtest
...
parse_shader_var_type()
get_source_shader_var_value()
moved out from D3D12_Shader_Debug_Zoo
2025-03-06 13:34:50 +00:00
Jake Turner
aaefec8b79
D3D12_Shader_Debug_Zoo tests for loading from global variables
...
Includes updating the python test to validate the results from compute shader debugging
2025-03-06 10:55:37 +00:00
baldurk
cd94206b0f
Add sections in Repeat_Load test
2025-02-27 15:31:00 +00:00
baldurk
19512165bb
Bail from Iter_Test when fatal errors are detected
2025-02-26 16:12:10 +00:00
baldurk
7ac76492f4
Clamp pixel shader comparisons to output components in Iter_Test
2025-02-26 16:11:58 +00:00
Jake Turner
7ebd608cbe
Add basic compute shader debug test action to iter_test
...
Does not check any output, purely runs DebugThread on a random groupId and threadId
2025-02-24 16:37:45 +00:00
baldurk
e7f400e4f3
Add D3D12 handling of swizzled UAV loads/stores
2025-02-21 13:46:58 +00:00
baldurk
d6c560415a
Add D3D11 handling of swizzled UAV loads/stores
...
* Ensuring we properly clamp for non-typed UAV stores. Typed UAV stores are
'easy' because they must always write all components.
2025-02-21 13:46:58 +00:00
baldurk
ed27404d07
Add epsilon to VK_Pixel_History test
2025-02-14 17:33:57 +00:00
baldurk
cfefa5d5ef
Add a test for new group ops
2025-02-10 17:52:31 +00:00
baldurk
c8223f5869
Fix D3D12 descriptor indexing test for named descriptors
2025-01-14 12:18:31 +00:00
baldurk
980b6a8bf0
Add test of SM6.7 bitfield reflection
2025-01-07 13:43:45 +00:00
baldurk
a11d673b3f
Update test for descriptor names
2024-12-16 11:59:03 +00:00
baldurk
9d32418e33
Fix GL_Buffer_Updates to not rely on exact thumbnail
2024-12-10 00:06:39 +00:00
baldurk
aa30ac2c10
Don't overlap storage with multiple inline UBO updates in one template
...
* Previously we were writing the inline UBO data to the same byte storage
meaning the last update's data would write over all updates.
2024-12-09 16:19:20 +00:00
baldurk
8d04479d20
Add additional check on index buffer values being out of bounds
2024-12-03 15:01:58 +00:00
Jake Turner
4532b888ed
Add SM 6.2 and StructuredBuffer<int16_t> to D3D12 Shader Debug Zoo test
2024-12-03 05:21:41 +00:00
Jake Turner
a39c4cf1db
D3D12 Pixel History do not copy depth for non-raster events
...
This can be invalid i.e. a ClearRenderTarget() no guarantee what/if a depth target is bound
2024-11-27 11:24:45 +00:00
Cam Mannett
7b767c9e6e
Preliminary Vulkan AS/RQ test
...
This test renders a small triangle that casts a shadow from a point light, onto a larger triangle. The test runner then checks that various pixels in the final output are the correct colour.
There is also an arbitrary AS copy in the render loop just to hit more API coverage when manually capturing, but the test runner doesn't check its output.
Core test work originally done by martyn.jacques@arm.com
2024-11-25 13:09:22 +00:00
Jake Turner
2d0ce14633
Iter Test skip pixel debug when no pixel shader bound at mod event
2024-11-15 13:19:00 +00:00
Jake Turner
dc27caaa08
Iter Test : pixel history and vertex debug changes
...
Do not pixel debug on an unknown primitive ID (-1)
Allow pixel debug and vertex debug on non-drawcall actions which have non-zero drawIndex i.e. Indirect draws
2024-11-07 15:23:27 +00:00
baldurk
b49e2e607f
Add test of very short-lived RTV/DSV heaps
2024-10-03 16:32:09 +01:00