Commit Graph

1258 Commits

Author SHA1 Message Date
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
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