Jake Turner
b7f943f6c5
Use caseless string comparison for Demos test name matching
2026-10-23 13:01:30 +01:00
Jake Turner
abba384d45
VK_Groupshared tests for OOB GSM memory access
2026-10-23 13:01:29 +01:00
Jake Turner
f179aa01c9
D3D12_Groupshared tests for OOB GSM memory access
2026-10-23 13:01:29 +01:00
Jake Turner
1432f8ba7c
D3D11_Groupshared tests for OOB GSM memory access
2026-10-23 13:01:29 +01:00
Jake Turner
b4f1a9a0e7
UI Test Harness use case insensitive search for test filtering
2026-10-23 13:01:29 +01:00
Jake Turner
2c84beae9b
D3D12_CBuffer_Zoo: do not check CBuffer array on SM6
...
- The DXIL debugger does not expand out CBuffer arrays into the debugger trace constantBlocks
2026-10-23 13:01:28 +01:00
baldurk
96ef1ae5f3
Remove Block declaration from BDA structs in asm shader test
2026-10-22 19:00:01 +01:00
baldurk
4d36d1eea2
Fix compile error in linux demos
2026-10-22 19:00:01 +01:00
baldurk
183fbfab8a
Fix demos compile error
...
* error C2026: string too big, trailing characters truncated
2026-10-20 13:33:44 +01:00
Jake Turner
33b0522c4f
Extend D3D12_Shader_Debug_Zoo tests for arrayed resources
...
- bounded array of srv, uav, sampler, cbuffer
- unbounded array of srv, uav, sampler, cbuffer
2026-10-19 11:46:50 +01:00
Jake Turner
729443d4fb
Extend GL_Shader_Debug_Zoo tests for arrayed resources
...
- bounded UBO array
- bounded SSBO array
2026-10-19 11:46:50 +01:00
Jake Turner
6599a0d363
Extend VK_Shader_Debug_Zoo tests for arrayed resources
...
- bounded Uniform array
- unbounded array of Uniform, Buffer, Sampler and Tex2D
2026-10-19 10:33:10 +01:00
baldurk
d0ea00bba1
Check for truncated flag presence or absence in cbuffer checks
2026-10-12 10:37:10 +01:00
Jake Turner
4288cec631
Do not validate ShaderVariable before/after for ConstantBlock types
2026-10-08 10:58:18 +01:00
Jake Turner
e2b85b4622
Update the VK_Shader_Debug_Zoo tests for arrayed resources
...
- Access queryTests, queryTestsMS element one instead of zero
- add tests for texBuffers, storeTexBuffers
- initialize arrayed resources descriptors to bad values
- set the accessed array indices to good values
2026-10-06 08:44:43 +01:00
baldurk
91ea80af1d
Display evaluated assertion expression if present
2026-09-30 12:29:31 +01:00
Jake Turner
6653194e69
Add a test to load through a bda pointer array to a member of a struct
...
OuterStruct { float4 a; float4 b; InnerStruct* pInner; }
InnerStruct { float x; float y; float z; }
OuterStruct is BDA in push constants
Code Access is OuterStruct->pInner[1].x
2026-09-28 09:11:14 +01:00
Jake Turner
b299a12234
D3D12_Execute_Indirect: fix GPUVA Errors
2026-09-22 16:02:53 +01:00
Jake Turner
b29e2cc987
Extend test coverage in Vk_Subgroup_Zoo
...
- gl_NumSubgroups
- gl_SubgroupID
- gl_SubgroupEqMask
- gl_SubgroupGeMask
- gl_SubgroupGtMask
- gl_SubgroupLeMask
- gl_SubgroupLtMask
- subgroupBallotInclusiveBitCount
- subgroupInverseBallot
- subgroupShuffleXor
- subgroupShuffleUp
- subgroupShuffleDown
- subgroupInclusiveAdd
- subgroupInclusiveMul
- subgroupInclusiveMin
- subgroupInclusiveMax
- subgroupInclusiveAnd
- subgroupInclusiveOr
- subgroupInclusiveXor
- subgroupExclusiveAdd
- subgroupExclusiveMul
- subgroupExclusiveMin
- subgroupExclusiveMax
- subgroupExclusiveAnd
- subgroupExclusiveOr
- subgroupExclusiveXor
- subgroupClusteredAdd
- subgroupClusteredMul
- subgroupClusteredMin
- subgroupClusteredMax
- subgroupClusteredAnd
- subgroupClusteredOr
- subgroupClusteredXor
2026-09-21 16:22:24 +01:00
Jake Turner
cfa80924ef
Extend test coverage in Vk_Workgroup_Zoo
...
- gl_SubgroupEqMask
2026-09-21 16:22:21 +01:00
Jake Turner
a8270f72d7
Vk Tests make the parent tmp/ directory of the temporary directory
2026-09-21 16:21:35 +01:00
Jake Turner
be2676ff56
Improve VK_Subgroup_Zoo tests
...
- compute any bitmasks using subgroupBallot() outside of flow control
- add tests for subgroupBallotBitExtract, subgroupBallotFindLSB, subgroupBallotFindMSB
2026-09-18 14:02:55 +01:00
baldurk
622625de7a
Make sure link batch file goes to right directory
2026-09-17 11:44:07 +01:00
baldurk
06da5d1974
Set demo window title for vulkan tests
2026-09-15 17:00:54 +01:00
baldurk
510d16d900
Report more accurate data for Pixel history with discards & fragments
...
* For draws where some fragments discard, D3D12 & Vulkan currently can't
distinguish which specific fragments did and didn't discard because they're
processed batched in separate callbacks rather than incrementally like D3D11 &
GL which can track a discarded offset by doing one stencil count at a time.
This means we can't get primitive information or ordering, we only get a list
of the passing fragments and a set of failing fragments.
* Note that on all APIs we also can't distinguish when instancing is present,
because there could be multiple "identical" primitives from different
primitives, some of which discard and some don't.
2026-09-15 17:00:54 +01:00
baldurk
49f3c76c57
Fix demos reference to device from window
2026-09-14 09:56:36 +01:00
baldurk
527f34614b
vkDeviceWaitIdle workaround because presentation is broken
2026-09-13 12:57:43 +01:00
baldurk
1fbec8ee48
Print total number of cases properly in log
2026-09-13 12:54:54 +01:00
baldurk
18e4d44ec3
Log VkResult errors to demos log
2026-09-13 12:54:40 +01:00
baldurk
a3fafbc29a
Don't pre-split work across parallel job workers
2026-09-12 02:15:12 +01:00
baldurk
19718e4feb
Add UI extension for running tests within the UI
2026-09-11 21:46:16 +01:00
baldurk
8392bca098
Fix incorrect error string
2026-09-11 21:17:19 +01:00
baldurk
f58d376b3a
Add an option to the logger to immediately fatal on first error
...
* This is mostly useful for some of the tests that want to be able to run and
accumulate multiple errors, but while debugging we want an exception to catch.
2026-09-11 21:17:19 +01:00
baldurk
d56ea92fd5
Add some helpers for querying and reloading tests
2026-09-11 21:17:18 +01:00
baldurk
7faac83b00
Add a helper and context for tracking the last pixel pick
2026-09-11 21:17:18 +01:00
baldurk
ff7e147b39
Allow setting a capture context if tests are run in UI
...
* This means we can keep the UI in sync with things like resource replacements.
2026-09-11 21:17:18 +01:00
baldurk
01893b9896
Use context helpers for pixel history
2026-09-11 21:17:18 +01:00
baldurk
ca682d6d34
Use context helpers for pixel debugging
2026-09-11 21:17:17 +01:00
baldurk
3452ba8ffd
Use context helpers for thread debugging
2026-09-11 21:17:17 +01:00
baldurk
e6948a8c7e
Check for degenerate debug traces in process_trace
2026-09-11 21:17:17 +01:00
baldurk
191597b27c
Don't allow find_*_source_var to return None
...
* Almost all callers expect a return value, so better to raise an exception
inside and make it non-optional return
2026-09-11 21:17:17 +01:00
baldurk
ae019398cb
Remove checks for shader debuggability
...
* All APIs now support shader debugging by default and we assume/require all
shaders in tests to be debuggable.
2026-09-11 21:17:17 +01:00
baldurk
04af66d71f
Check for failed ShaderDebugTrace centrally
...
* We don't expect the debug to fail entirely and if it does we can throw a test
failure
2026-09-11 21:17:16 +01:00
baldurk
031212e916
Use context helpers for vertex debugging
2026-09-11 21:17:16 +01:00
baldurk
d9c72e7651
Include context information for pixel history and shader debug attempts
2026-09-11 21:17:16 +01:00
baldurk
2a0989ba9a
Use local helper function for setting current EID
...
* This lets the testcase track the current EID and print it when a failure
happens
2026-09-11 19:19:27 +01:00
baldurk
4fffe30bd4
Allow adding custom log outputs that aren't filenames
2026-09-11 19:19:26 +01:00
baldurk
d7cbb743e4
Set more tests to use common check_vertex_debug() helper
2026-09-11 19:19:26 +01:00
baldurk
fc27cf0deb
Add ability to run tests in parallel
2026-09-11 19:19:26 +01:00
baldurk
73545f0a51
Fix failed test movement for truncated logs
2026-09-11 17:27:36 +01:00