baldurk
cef00a102b
Add struct VarType and combine flags into single field
...
* This is not a space saving right now, but allows more flags to be added
without adding more storage.
2022-05-20 13:37:25 +01:00
baldurk
4953adde03
Add a test of KHR_Dynamic_Rendering
...
* Not all possible interactions are currently tested, but at least the ones that
have been broken in the past.
2022-05-03 18:47:27 +01:00
baldurk
cfdbc3da57
Remove outdated experimental feature check
2022-05-03 15:30:47 +01:00
baldurk
a9562c87f5
Test that discard patterns don't disturb bound state on vulkan
2022-05-03 15:30:20 +01:00
baldurk
96a7639c2e
Add test of flow control constructs in D3D11 shader debugging
2022-05-03 14:06:07 +01:00
baldurk
04c62f9595
Add a test debugging shaders on D3D12 with banned flags in the root sig
2022-04-28 14:19:38 +01:00
baldurk
c1240effe3
Test alternative functions for binding contexts on GL
2022-04-28 14:05:38 +01:00
baldurk
7066692262
Test that sampler heaps are represented in structured data properly
...
* This is a test of a specific case of lazy serialisation, but in particular
D3D12 descriptors do some aliasing tricks for types to compress the data, so
repeated serialisation needs to be safe.
2022-04-28 13:39:37 +01:00
baldurk
8aa0390948
Add string messages to returned result codes to display to user
...
* Most of the main entry points that can fail with relevant reasons now has a
way of specifying a message to return with it. This message can be displayed
to the user to give more information or context about an error.
2022-04-26 16:21:54 +01:00
baldurk
7aa7f1da99
Generate .sig files after signing installers
2022-04-26 13:20:09 +01:00
Jake Turner
aef7fc698b
Add header files to demos CMakeLists.txt
...
Helpful for source browsing when using an IDE project generated by CMake
Potential list of header files found using:
find util/test/demos -name '*.h' \! -path "*3rdparty*" \! -path "*official*"
2022-04-25 12:08:51 +01:00
baldurk
da08c10c41
Update vulkan & SPIR-V headers to latest
2022-04-13 12:19:15 +01:00
Benoit Dumesnil
2ace1fe84d
Add test of D3D12 bindless feedback for shadermodel 6.6.
2022-03-21 11:30:47 +00:00
Benoit Dumesnil
e47450a43b
Fix test of D3D12 bindless feedback.
...
Fix a typo in a comment in D3D12_Descriptor_Indexing.py.
Fix UAV using a typed buffer view instead of a structured buffer view.
Fix SetDescriptorHeaps being called before ClearUnorderedAccessViewUint
2022-03-21 11:30:47 +00:00
Benoit Dumesnil
29770ef762
Update D3D headers in test project to latest D3D12 headers
2022-03-21 11:30:47 +00:00
baldurk
345206b2b8
Fix validation error with inline uniform block writes
2022-03-17 18:10:05 +00:00
baldurk
fcdea67879
Update copyright years to 2022
2022-02-17 17:38:32 +00:00
baldurk
f573b55012
Fix broken call to BecomeRemoteServer
2022-02-16 13:14:58 +00:00
baldurk
745bff2eeb
Fix tests not passing a window title
2022-02-11 11:52:36 +00:00
baldurk
ec5c14dee8
Add support for multiple batched presents on vulkan. Closes #2492
2022-02-10 16:36:19 +00:00
baldurk
b7e13e7d6f
Update demos vulkan headers to 1.3
2022-02-08 18:07:38 +00:00
baldurk
f37516bfc3
Use depth image specifically for depth-compare tests in shader debug zoo
...
* The spec doesn't guarantee that non-depth formats support comparisons like
this.
2022-02-08 18:07:38 +00:00
baldurk
9a75846343
Only provide mutable format list when needed
2022-02-08 18:07:38 +00:00
baldurk
68401caea3
Generate larger staging buffer for vulkan discard patterns
...
* The pattern buffer is 64x8 but doing copies to each target location can cause
issues on very large textures. Instead we generate a 256x256 buffer with
repetitions on load (which is still only ~256-512kB), and copy from that. We
can still do truncated copies so we don't need a smaller buffer, and this
greatly reduces the number of buffer copies issued.
2022-02-04 16:45:14 +00:00
baldurk
d844d3af39
Fix missing stencil store op in discard zoo test
2022-02-02 15:00:44 +00:00
baldurk
e4fd52c367
Fix generation of NaNs in vulkan shader debug zoo test
2022-02-02 15:00:44 +00:00
baldurk
e42b0ff2ca
Refactor ShaderVariable use and non-32-bit precision. Closes #2466
2022-02-02 15:00:43 +00:00
baldurk
0d7dcabdac
Clamp version for vulkan 1.3 drivers that don't support BDA cap/replay
2022-01-31 17:25:23 +00:00
baldurk
d0563ebaea
Fix array overrun in test
2022-01-10 12:51:37 +00:00
baldurk
22d4dc4574
Don't create temporary device if D3D12 is not supported
2021-11-26 10:59:22 +00:00
baldurk
8d9a618bd6
Fix possible compile error in VK_Load_Store_None test
2021-11-22 13:15:41 +00:00
baldurk
861f55b467
Test picking empty draws in mesh view
2021-11-19 12:26:06 +00:00
baldurk
bd2659a6ab
Increase number of captures on GL_Leak_Check test to match other APIs
2021-11-19 12:11:41 +00:00
baldurk
2498043374
Add test of standard counters
2021-11-19 11:56:36 +00:00
baldurk
8f51857c69
Test D3D12 placed resources keeping a reference on their heap
2021-11-19 11:22:53 +00:00
baldurk
0f4433f658
Add a test of multiple entry points in a SPIR-V module
2021-11-16 16:27:36 +00:00
baldurk
751c80af85
Don't use spec constant ID as offset for storage. Closes #2413
...
* This requires a linear search to get the offset for a constant by ID, but
hopefully no-one will have so many constants that this becomes an issue.
2021-11-16 15:01:42 +00:00
baldurk
37fd59313b
Add a test of vulkan shader debug printf
2021-11-15 16:14:00 +00:00
baldurk
ff1fc1c20f
Test handling of residency refcounting and placed resources on D3D12
2021-11-15 15:07:56 +00:00
baldurk
799f3a806b
Add tests of multi-bind GL functions that take NULL arrays
2021-11-15 13:32:10 +00:00
baldurk
f96a91a108
Show how to hardcode a single test in the demos project
2021-11-15 13:09:24 +00:00
baldurk
32fd5b5f18
Fix SDK detection on VS2022 where the windows SDK has no 64-bit reg key
2021-11-15 11:02:05 +00:00
baldurk
4d906c5007
Check that multiple D3D12 devices with different resources doesn't break
2021-11-11 15:54:47 +00:00
baldurk
3da6a89bfb
Test reading from NULL vertex buffer at offset 0 with VK_EXT_robustness2
2021-11-11 15:36:56 +00:00
baldurk
77e11abf07
Test that mapping and unmapping a "persistent" buffer each frame works
2021-11-11 15:20:43 +00:00
baldurk
eb96e8007c
Fix validation error in VK_Shader_Debug_Zoo
2021-11-11 15:15:50 +00:00
baldurk
d0d809f43e
Add a test using ~0U for OpVectorShuffle inputs
2021-11-11 15:15:42 +00:00
baldurk
352821026e
Add tests that frame 0 can be captured and contains correct events
2021-11-11 14:43:17 +00:00
baldurk
bb3343786b
Add support for VK_KHR_dynamic_rendering
2021-11-05 14:15:01 +00:00
baldurk
7a4e68959f
Support VK_EXT_load_store_op_none & color_write_enable. Closes #2363
...
* These are added together because VK_EXT_load_store_op_none is easier to test
in a realistic fashion using VK_EXT_color_write_enable
2021-10-22 14:48:58 +01:00