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
baldurk
4998542c06
Update to latest stable D3D12 headers 1.616.1
2025-09-16 18:21:03 +01:00
baldurk
7c5b76dcad
Change subgroup zoo to use a triangle list instead of strip
...
* This produces more consistent subgroup thread assignments in the vertex
shader.
2025-09-11 14:09:53 +01:00
baldurk
0939abc3da
Add a scoped log section that can be used with with:
2025-09-11 12:51:08 +01:00
baldurk
9e6f5a7be7
Update vulkan headers in demo project
2025-09-09 18:57:34 +01:00
baldurk
a05fd08a1c
Add support for VK_KHR_maintenance6. Closes #3602
2025-08-25 11:36:01 +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
baldurk
01a6a488a9
Demo that does descriptor analysis for identification
2025-07-30 22:10:26 +01:00
baldurk
722df90e7b
Don't fill AS descriptors if AS extension is not available in demo
2025-07-29 21:43:31 +01:00
baldurk
25adde711a
Enforce extra alignment on AS buffers in demo
2025-07-29 16:44:08 +01:00
baldurk
e11f3036d8
Destroy query pools on shutdown
2025-07-29 16:43:09 +01:00
baldurk
d1ce4ac412
Ignore VUID-vkAcquireNextImageKHR-semaphore-01779
2025-07-29 16:43:05 +01:00
Jake Turner
4ac2861e2b
DXIL Shader Debug Data test for struct inheritance
...
struct TestGrand
{
int3 i3;
int2 i2;
};
struct TestParent : TestGrand
{
int4 i4;
};
struct TestChild : TestParent
{
int i;
};
2025-07-21 18:23:37 +01:00
Jake Turner
08696443a0
Added workgroup performance tests and basic D3D11 Workgroup test
...
Added D3D11_Workgroup_Zoo, D3D12 Workgroup Zoo, Vk Workgroup Zoo performance tests
Performance tests primarily for performance testing workgroup debugging speed
Changed workgroup and subgroup result variable from "data" -> "testResult" to help to reduce conflicts
2025-07-21 09:16:56 +01:00
baldurk
b5d3cf07a3
Expand test to include array-indexing ASs as well as NULL AS
2025-07-10 17:52:23 +01:00
baldurk
378474d79c
Disable bounds testing on inline UBO in descriptor
...
* Inline UBOs do not have bounds checking/robust access
2025-07-10 17:52:23 +01:00
baldurk
62c2747169
Give each AS build its own scratch space in demo
2025-07-10 17:52:23 +01:00
baldurk
6c5b6177dc
Query for supported mutable descriptor types in demo
2025-07-10 17:52:23 +01:00
baldurk
3e70a37fac
Add test of descriptor buffer
2025-07-09 09:57:56 +01:00
baldurk
4f0356d7f4
Don't use sleep for test compilation at all, rely on pclose to wait
2025-07-08 12:22:36 +01:00
baldurk
0293487eb8
Properly handle D3D11 constant buffers with a 0 range specified
2025-07-04 14:10:51 +01:00
Jake Turner
a81380d800
Extend D3D12_Shader_Debug_Zoo GSM test
...
Include a large groupshared variable (2D Array)
Call GroupMemoryBarrierWithGroupSync()
groupshared int gsmInt2DArray[2][1024];
2025-07-03 12:25:55 +01:00
baldurk
3f85357598
Ensure official builds still detect compatible android apks properly
2025-06-27 16:16:20 +01:00
baldurk
4f5c51bc01
Adjust values used in texel buffer test to have safer rounding
2025-06-25 12:15:55 +01:00
baldurk
e5e1e286c3
Catch exceptions from process_trace in Iter_Test and print as errors
2025-06-25 10:53:46 +01:00
baldurk
6e5518e882
Add --gpuva option to vulkan tests
2025-06-19 16:14:18 +01:00
thisisjimmyfb
b79d1e6fe2
Android swapchain format selection prefer to use srgb format
...
Android to use similar swapchain format and dimension as Windows
2025-06-19 11:45:04 +01:00
thisisjimmyfb
29207a7333
Fix VK_Leak_Check for Android
...
RemoteServer timedout due to VK_Leak_Check taking too long before sending commands to remote server. Spawning a worker thread to keeping the remote server connection alive fixes the disconnection issue.
2025-06-19 11:45:04 +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
thisisjimmyfb
035fc9974d
Remote Android and Linux test support part 2
...
Support swapchain image size greater than 4
2025-06-19 11:45:04 +01:00
thisisjimmyfb
b1d3123583
Remote Android and Linux test support part 1
...
Add remote server support to test framework
2025-06-19 11:45:04 +01:00
baldurk
d7236e0d91
Fix reads & writes to storage texel buffers in vulkan shader debugging
2025-05-26 14:59:46 +01:00
Jake Turner
1881b26fef
Test for DXIL constant global pointers
2025-05-22 12:12:09 +01:00
Jake Turner
962c1cdcf6
Enable Python shader trace validation by default
2025-05-19 16:57:22 +01:00
Jake Turner
9523f98b8a
Python implementation of ShaderDebugTrace validation
...
Similar to the validation that is performed in ShaderViewer UI
Disabled by default pass True to process_trace to enable the validation
Includes validate_shadervariable() and shadervariable_equal()
2025-05-19 16:44:45 +01:00
Jake Turner
be6cc2d324
Verify pixel history succeeds as part of D3D12_Execute_Indirect tests
2025-05-18 12:52:56 +01:00
baldurk
ea19a5d20b
Update build-shaderc to properly build on VS2022 with x64
...
* Add a helper script to build demos with VS2022 in release for shipping that
link to shaderc. By default VS2015 won't link to it.
2025-05-16 16:00: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
d48f217119
Tweak D3D12_Resource_Mapping_Zoo sig_resourceAccess UAV entries
...
Use UAV handles (20, 21) for the UAVs instead of SRV handles (56, 57)
2025-05-08 16:06:35 +01:00
Jake Turner
dbe2d9dd2e
Fix D3D12_Shader_Debug_Zoo CS failing test
2025-05-08 10:21:27 +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