Jake Turner
c534b41eb6
Tune the ShaderVariable consistency checks for resources
...
Do not check before/after equals existing value for ReadOnlyResource and ReadWriteResource
In the DXIL debugger for resources the same SSA ID might have different names
2025-11-11 10:53:15 +13:00
baldurk
eee1268a9f
Fix handling of test failure cases in test results page
2025-11-10 16:43:05 +00:00
baldurk
23748c0089
Fix validation issues with D3D12 test
2025-11-10 16:43:05 +00:00
baldurk
ea368a631e
Allow GPU upload heaps to be enabled in D3D12. Closes #3724
...
* We attempt to enable the experimental feature since this allows the use of the
feature on a much wider set of OS versions, at the time of this commit support
seems quite rare/narrow.
2025-11-10 16:43:05 +00:00
baldurk
7cf68de074
Update D3D12 headers to 1.618.2
...
* This includes some support for the new serialised-root signature
representation for precompilation which also affects runtime.
GetRootSignature*() functions in pipeline state and state object are not
implemented as it's unclear if they are supported.
* The interfaces for the precompilation are *not* supported as there is no need.
2025-11-10 16:43:05 +00:00
baldurk
b3264d4a4e
Add a summary table showing the durations of tests (slowest first)
2025-10-31 11:29:26 +00:00
baldurk
3a623d015d
Sort failed tests to the end of the test result list
2025-10-31 11:29:26 +00:00
baldurk
cca9defbb5
Initialise AS variables in descriptor buffer test
2025-10-29 12:14:53 +00:00
Jake Turner
14a4b283b3
Quick double/float/half mad intrinsic tests for D3D12
...
half will only be 16-bit for the SM6.6 tests
2025-10-28 17:03:26 +00:00
Jake Turner
8d57a00a64
Fixup D3D12_Resource_Mapping_Zoo Sampler array tests
...
Add valid samplers instead of sampling using a NULL sampler
2025-10-27 13:57:23 +00:00
baldurk
48088ac07e
Add handling of D3D shaders which declare no output value
2025-10-27 11:50:36 +00:00
baldurk
1a5177453c
Move GL test to use common pixel history test framework
2025-10-27 11:50:36 +00:00
baldurk
fbab189b06
Move D3D11 test to use common pixel history test framework
2025-10-27 11:50:35 +00:00
baldurk
a6ad1313fd
Move D3D12 test to use common pixel history test framework
2025-10-27 11:50:35 +00:00
baldurk
d8fa6a1747
Revamp vulkan pixel history test to cover more cases
...
* The test is also written generically to be applied to other APIs uniformly
2025-10-27 11:50:35 +00:00
baldurk
1c970a7868
Add global helper for naming D3D12 objects with normal strings
2025-10-27 11:50:17 +00:00
baldurk
1521278fd5
Only avoid duplicate failures when exceptions are raised
2025-10-27 11:45:35 +00:00
baldurk
929548f478
Add dummy reads to pipes for linux for some reason
2025-10-27 11:45: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
Jake Turner
58ec8fd9d3
Simple test cases of arrays of Samplers for the DXIL debugger
2025-10-24 07:49:44 +01:00
Jake Turner
9c31e0131e
Fix validate_trace() being called from generate_full_trace()
2025-10-23 09:15:42 +01:00
baldurk
cb053efe77
Fix duplicate failure reporting in auto sections
2025-10-21 16:46:47 +01:00
baldurk
81a367be66
Add naming helper for image views
2025-10-15 12:32:44 +01:00
baldurk
48b19e8ba4
Add an immediate error check if SPIR-V compiler fails in tests
2025-10-15 12:32:44 +01:00
Jake Turner
196ca9bae2
Run validate_trace() as part of generate_full_trace()
...
Ensure the trace is valid before running comparisons on it
2025-10-10 12:58:32 +01:00
Jake Turner
2fda1f79eb
Extend VK Groupshared GSM atomic tests to match D3D12 Groupshared
2025-10-10 12:40:44 +01:00
Jake Turner
4f8954ca1a
Extend D3D12 Groupshared GSM atomic tests of groupshared int
2025-10-10 12:40:40 +01:00
Jake Turner
c69d482f66
Remove race from D3D12 Shader Debug Zoo Interlocked tests
2025-10-08 16:08:43 +01:00
baldurk
a2ce9b46db
Add some array-based tests to shader linkage zoo demos
2025-10-08 14:22:45 +01:00
Jake Turner
49e764e2c1
D3D12_Shader_Debug_Zoo test overlapped GPU math and sampling operations
...
Also unified the indentation to spaces in the shader source
2025-10-08 09:48:14 +01:00
Jake Turner
0e6fc382d7
Add Interlocked* tests to D3D12_Groupshared
2025-10-05 07:50:05 +01:00
Jake Turner
3e38a63ebb
D3D12_Shader_Debug_Zoo test for helper lane UAV writes are ignored
2025-10-04 07:16:49 +01:00
baldurk
a92e0d2669
Ensure capabilities are properly cached when only prepared once
2025-09-30 11:26:01 +01:00
baldurk
8864a1d81e
Improve time listing available demos
...
* Remove redundant repeated calls when preparing multiple tests
2025-09-29 16:40:15 +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
9952483f2b
Make D3D12_Groupshared test deterministic
2025-09-28 07:26:30 +01:00
Jake Turner
357102fd3f
Make VK_Groupshared test deterministic
2025-09-28 07:26:30 +01:00
Jake Turner
d6a49c4c18
Make D3D12_Workgroup_Zoo test determistic
2025-09-28 07:26:30 +01:00
Jake Turner
9e63b3fb8c
Enable VK_Groupshared test
2025-09-28 07:26:30 +01:00
Jake Turner
61cc31062e
Change D3D12_Shader_Debug_Zoo test to exercise thread local global mem
2025-09-28 07:26:15 +01:00
Jake Turner
fa40e51e7d
Tweak d3d12_workgroup_zoo : set both root constants for both dispatches
2025-09-25 17:35:35 +01:00
Jake Turner
f12aa91ba2
Python helpers to generate and check a full trace from shader debug
2025-09-24 14:13:59 +01:00
Jake Turner
64b9e517e0
VK_Shader_Debug_Zoo test of overlapped GPU math and sampling operations
2025-09-24 14:01:47 +01:00
Jake Turner
fc2c080a77
Remove unused cycles variable in VK_ShaderDebugZoo
2025-09-24 14:01:30 +01:00
Jake Turner
decbcff6ab
Enable Vk Workgroup and Subgroup tests
2025-09-24 12:04:37 +01:00
Jake Turner
754b5d21eb
Change VK_Workgroup_Zoo test to be deterministic
2025-09-24 11:50:52 +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
2381c2669d
Add support in tests for compiling with separate shader debug info
2025-09-22 14:21:56 +01:00
baldurk
872752cd51
Add version check for -select-validator which was annoyingly removed
2025-09-22 14:21:36 +01:00
baldurk
cda6da6945
Enumerate supported shader model in demos a bit more tightly
2025-09-22 13:49:51 +01:00