Tristan Ritchie
2eade4650b
Add support for VK_KHR_maintenance5
2025-03-19 15:43:08 +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
baldurk
2322e165de
Update copyright years to 2025
2025-03-14 18:54:37 +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
87b7f5de72
D3D12 Shader Debugger test for unknown format UAV with a typed Texture2D
...
Valid for UAV to have unknown format if the underlying resource has a typed format
2025-03-07 12:39:06 +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
cd94206b0f
Add sections in Repeat_Load test
2025-02-27 15:31:00 +00:00
baldurk
19512165bb
Bail from Iter_Test when fatal errors are detected
2025-02-26 16:12:10 +00:00
baldurk
7ac76492f4
Clamp pixel shader comparisons to output components in Iter_Test
2025-02-26 16:11:58 +00:00
baldurk
3d316dc4b2
Serialise dummy AS query results and ensure resolves are nop'd
2025-02-25 11:24:12 +00:00
baldurk
339927e2b4
Update VMA version in demos project
2025-02-25 10:58:15 +00:00
Jake Turner
7ebd608cbe
Add basic compute shader debug test action to iter_test
...
Does not check any output, purely runs DebugThread on a random groupId and threadId
2025-02-24 16:37:45 +00:00
baldurk
8f0e9a2c48
Ensure no false positives in tests if some values are 0.0
2025-02-21 13:46:59 +00:00
baldurk
e7f400e4f3
Add D3D12 handling of swizzled UAV loads/stores
2025-02-21 13:46:58 +00:00
baldurk
2ae986ff70
Cache blobs in PSO helper to allow in-line blob compilation
2025-02-21 13:46:58 +00:00
baldurk
d6c560415a
Add D3D11 handling of swizzled UAV loads/stores
...
* Ensuring we properly clamp for non-typed UAV stores. Typed UAV stores are
'easy' because they must always write all components.
2025-02-21 13:46:58 +00:00
baldurk
f69ac73f1f
Add demos that utilise groupshared memory in a simple way
2025-02-19 13:35:51 +00:00
baldurk
ed27404d07
Add epsilon to VK_Pixel_History test
2025-02-14 17:33:57 +00:00
baldurk
08d2ad0294
Update vulkan headers to 1.4.307
...
* Trivial promotion of these extensions:
- VK_KHR_depth_clamp_zero_one
- VK_KHR_compute_shader_derivatives
2025-02-13 18:32:21 +00:00
baldurk
cfefa5d5ef
Add a test for new group ops
2025-02-10 17:52:31 +00:00
baldurk
e38e2d4177
Fix VK_Descriptor_Index test declaring too large array
...
* This was variably sized so in practice we didn't use it, but the spec still
requires us to respect the max sizes that could be used for the upper bound
and this lead to the wrong texture being sampled on NV.
2025-01-25 15:59:31 +00:00
baldurk
c8223f5869
Fix D3D12 descriptor indexing test for named descriptors
2025-01-14 12:18:31 +00:00
baldurk
e692c30a05
Handle 16-bit types not being supported in demos project
2025-01-14 12:07:24 +00:00
baldurk
f3f0617b37
Do extremely stupid version checking to workaround dxc nonsense in tests
...
* On a new enough dxc we can pass a flag to tell it to ignore dxil.dll
* This allows the tests to run on the test machine with an old windows SDK
(where the demos project copies the dxcompiler.dll + dxil.dll from) but still
pull in a new dxcompiler.dll without having it break on an old dxil.dll
2025-01-13 11:02:22 +00:00
baldurk
b46b8d96cf
Prefer using custom D3D12/ local dxcompiler.dll in demos project
2025-01-10 11:29:28 +00:00
baldurk
980b6a8bf0
Add test of SM6.7 bitfield reflection
2025-01-07 13:43:45 +00:00
baldurk
2d86fe6b12
Ensure log output is clean when listing available demos
2025-01-07 13:43:45 +00:00
baldurk
4d4fbdcaa3
Demos project loads D3D12.dll relative to exe not CWD
2025-01-07 13:43:45 +00:00
Jake Turner
75aeb4820a
Add a D3D12 Shader Debug Zoo test for writing to an int[1] buffer
...
Extends debugger coverage for handling read/write buffer bounds
2025-01-02 13:09:24 +00:00
baldurk
9de148cfcf
Allow customising runner timeout on command line
2024-12-17 14:32:55 +00:00
Jake Turner
69a0272e11
D3D12 Shader Debug Zoo : enable UAV Interlocked tests for DXBC
...
Switch to use RWBuffer<int> instead of RWTexture2D<int>
2024-12-16 12:16:28 +00:00
baldurk
a11d673b3f
Update test for descriptor names
2024-12-16 11:59:03 +00:00
Jake Turner
f2d2d73d2e
Add D3D12 Shader Debug tests for SM6.6 pack/unpack instructions
...
pack_u8
unpack_s8s32
2024-12-15 17:30:10 +00:00
Jake Turner
a3633dea8d
Add D3D12 Shader Debug tests for SM6.4 instructions
...
dot4add_i8packed
dot4add_u8packed
dot2add
2024-12-15 15:34:18 +00:00
baldurk
7fe2749b38
Add custom D3D12 interface for per-heap descriptor naming by index
2024-12-13 21:19:47 +00:00
Jake Turner
a40d729bbe
Use mad() intrinsic in D3D12_Shader_Debug_Zoo SM6+ tests
2024-12-10 17:36:30 +00:00
Jake Turner
8de06cf324
D3D12 Shader Debug Zoo : add a test for UAV Interlocked*
...
RWTexture<int>
InterlockedAdd
InterlockedAnd
InterlockedOr
InterlockedXor
InterlockedMin
InterlockedMax
InterlockedCompareExchange
InterlockedCompareStore
InterlockedExchange
2024-12-10 13:46:47 +00:00
baldurk
9d32418e33
Fix GL_Buffer_Updates to not rely on exact thumbnail
2024-12-10 00:06:39 +00:00
baldurk
aa30ac2c10
Don't overlap storage with multiple inline UBO updates in one template
...
* Previously we were writing the inline UBO data to the same byte storage
meaning the last update's data would write over all updates.
2024-12-09 16:19:20 +00:00
Jake Turner
23c7e1cfea
D3D12 Shader Debug Zoo : add a test for Texture2D Store
2024-12-09 14:35:49 +00:00
Jake Turner
0fcecf0a15
D3D12_Shader_Debug_Zoo only do 16bit tests if runtime supports it
...
Check using Native16BitShaderOpsSupported
2024-12-09 12:50:43 +00:00
baldurk
8d04479d20
Add additional check on index buffer values being out of bounds
2024-12-03 15:01:58 +00:00
Jake Turner
4532b888ed
Add SM 6.2 and StructuredBuffer<int16_t> to D3D12 Shader Debug Zoo test
2024-12-03 05:21:41 +00:00
Jake Turner
56fffb5dc2
D3D12 Tests add uint32_t compileOptions to Compile()
...
Current options are:
SkipOptimie : the default
Enable16BitTypes
2024-12-03 05:21:41 +00:00
Jake Turner
a39c4cf1db
D3D12 Pixel History do not copy depth for non-raster events
...
This can be invalid i.e. a ClearRenderTarget() no guarantee what/if a depth target is bound
2024-11-27 11:24:45 +00:00
Cam Mannett
7b767c9e6e
Preliminary Vulkan AS/RQ test
...
This test renders a small triangle that casts a shadow from a point light, onto a larger triangle. The test runner then checks that various pixels in the final output are the correct colour.
There is also an arbitrary AS copy in the render loop just to hit more API coverage when manually capturing, but the test runner doesn't check its output.
Core test work originally done by martyn.jacques@arm.com
2024-11-25 13:09:22 +00:00
baldurk
20d76052ee
Fix incorrect parameter in D3D12 demos project
2024-11-24 00:58:50 +00:00