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
baldurk
a4b8179794
Fix query tracking to be per-cmdbuf on replay. Closes #3797
2026-02-13 13:06:19 +00:00
baldurk
1f29df7bfb
Add test for D3D12 predication
2026-02-04 22:33:57 +00:00
baldurk
965d1c9568
Add demo tests for annotations
2026-01-28 14:42:11 +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
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
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
dbbd9ba010
Added MSAA tests for SM6.0 and SM6.
...
Disabled in the python because the RenderDoc does not currently support DXIL debugging of MSAA instructions or SV_Barycentrics
2025-11-17 05:47:55 +13:00
Jake Turner
0194951bca
Fix D3D12_Resource_Mapping_Zoo false failure if no SM6.6 action to test
...
Apply the same fix for no SM6.0 action to test
2025-11-12 17:42:03 +13:00
Jake Turner
f858b2320f
Extend D3D12_Shader_DebugData_Zoo tests to include matrix
...
Check matrix in the outputs from Vertex Shader
Check matrix in the inputs to Pixel Shader
Check matrix debug data source values from debugger trace
2025-11-12 11:10:32 +13:00
Jake Turner
4d180eecfa
Tweak D3D12_Resource_Mapping_Zoo test to mark as failed in all cases
2025-11-12 10:57:13 +13:00
baldurk
a6ad1313fd
Move D3D12 test to use common pixel history test framework
2025-10-27 11:50:35 +00:00
Jake Turner
a4d407ec3a
Enable D3D11, D3D12 groupshared, subgroup, workgroup tests
...
D3D11_Groupshared, D3D12_Groupshared
D3D12_Subgroup_Zoo
D3D11_Workgroup_Zoo D3D12_Workgroup_Zoo
2025-10-25 11:01:13 +01:00
baldurk
41e9f3c426
Add a demo project with extremely high overlap/sparseness buffers
...
* For stressing memory overhead in buffer initial states
2025-09-29 16:37:45 +01:00
Jake Turner
9e63b3fb8c
Enable VK_Groupshared test
2025-09-28 07:26:30 +01:00
Jake Turner
decbcff6ab
Enable Vk Workgroup and Subgroup tests
2025-09-24 12:04:37 +01:00
Jake Turner
e16a714aba
New cbuffer tests: D3D11, D3D12 packedoffset; D3D12 cbuffer array
...
cbuffer packed_consts : register(b2)
{
float col1z : packoffset(c1.z); // 4+2
float col2w : packoffset(c2.w); // 8+3
};
struct ArrayStruct
{
float4 a;
};
ConstantBuffer<ArrayStruct> array_consts[2] : register(b3);
2025-09-23 15:59:48 +01:00
baldurk
fa0ba4a532
Don't disable blending for fetching per-fragment postmod
2025-08-18 13:28:11 +01:00
Jake Turner
a8ee82bfe8
Extend D3D12_EXECUTE_INDIRECT test for partial update of root constants
...
Change colour of triangle based on root constant values set by direct API not by indirect API.
This allows verification that RenderDoc replay of indirect root constants does not alter values set by the direct API
2025-07-31 08:07:19 +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
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
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
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
e7f400e4f3
Add D3D12 handling of swizzled UAV loads/stores
2025-02-21 13:46:58 +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