Commit Graph
925 Commits
Author SHA1 Message Date
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 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 929548f478 Add dummy reads to pipes for linux for some reason 2025-10-27 11:45:35 +00:00
Jake Turner 58ec8fd9d3 Simple test cases of arrays of Samplers for the DXIL debugger 2025-10-24 07:49:44 +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 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 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 64b9e517e0 VK_Shader_Debug_Zoo test of overlapped GPU math and sampling operations 2025-09-24 14:01:47 +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 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