Jake Turner
01184079c3
Test editing vulkan compute shader
...
Replace existing HLSL compute shader with a GLSL compute shader
2022-07-05 13:37:47 +01:00
Jake Turner
5b2b988bb3
Test changing vulkan compute shader entry-point
...
Commit for original bug fix:
"Fix entry-point remapping when editing compute shaders on vulkan"
c81a522360
2022-07-05 13:37:47 +01:00
baldurk
7d9a1a05b8
Correctly handle programs that don't create graphics queues
2022-06-21 15:31:41 +01:00
baldurk
687c11ba68
Fix handling of 64-bit integer vertex attributes in mesh output fetch
2022-06-20 16:47:50 +01:00
baldurk
6a006625f2
Ignore rasterizerDiscardEnable == true if it is dynamic. Closes #2617
...
* Normally we have to ignore subsequent states as potentially garbage pointers
if discard is enabled, but when it's dynamic state we have to ignore its
valid.
2022-06-17 10:46:14 +01:00
baldurk
a351fc14f4
Fix tests for API changes
2022-05-24 12:48:17 +01:00
baldurk
e925688913
Fix use-after-free when freeing vulkan postponed memory. Closes #2573
2022-05-23 13:56:05 +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
a9562c87f5
Test that discard patterns don't disturb bound state on vulkan
2022-05-03 15:30:20 +01:00
baldurk
2498043374
Add test of standard counters
2021-11-19 11:56:36 +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
352821026e
Add tests that frame 0 can be captured and contains correct events
2021-11-11 14:43:17 +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
baldurk
97dfda3c3c
Fix use of GetCBufferVariableContents in tests
2021-10-18 10:20:08 +01:00
baldurk
a76aa1dede
Update RGA devices list to include RDNA2
...
* We also drop everything gfx804 to keep the device list from being too bloated,
as well as AMD planning to remove support for these devices soon.
2021-08-18 20:12:07 +01:00
baldurk
979f5244e2
Make demos timeout more generous for leak check tests
...
* It's fine as-is in release, but in development builds it can take almost a
minute to reach that frame and capture.
2021-07-05 14:20:48 +01:00
baldurk
634a8c381a
Update test scripts to latest APIs and behaviour changes
2021-07-01 15:15:05 +01:00
baldurk
7149302680
Rename 'draw' or 'drawcall' to action
...
* There's not a good accepted terminology for this kind of event, and for
historical reasons 'drawcall' has been the accepted term, even though
that can be quite confusing when a dispatch or a copy is a 'drawcall'.
* This is particularly highlighted by the event browser filters where
$draw() includes draws and dispatches, but $dispatch() only includes
dispatches, it's hard to intuitively understand why $draw() matches all
of these calls.
* As a result we've defined the term 'action' to cover these types of
events in the same way that we defined 'event' in the first place to
mean a single atomic API call.
2021-07-01 15:15:05 +01:00
baldurk
efd2a50a3a
Use python datetime for calculating durations, not time.time()
2021-05-04 14:12:03 +01:00
baldurk
9d6fe09b62
Test vulkan clear-before-draw overlay works when bindless feedback runs
...
* The first time a draw is selected bindless feedback runs, ensure the clear-
before-draw overlay works even then. This is a little bit of a hack but it
tests for a known issue.
2021-04-30 13:20:45 +01:00
baldurk
477a1e927b
Add VK_Robustness2 test to autotests and add push descriptor interaction
2021-04-16 14:19:30 +01:00
baldurk
dc44d6c271
Make doubles vertex attribute test optional for radv missing support
2021-03-22 18:37:10 +00:00
baldurk
30dd13feb8
Pull index byte width and topology out of drawcall state
...
* These are treated as state on most APIs, only GL treats it as a drawcall
parameter.
2021-02-24 13:52:07 +00:00
baldurk
5cb9b90f5f
Implement support for VK_KHR_synchronization2
...
* For the most part we implement this as a thin pass-through layer. Where we
care about things (image barriers for layout transitions and queue
submissions) we do two different things:
- For image barriers, we "downcast" to plain VkImageMemoryBarrier. Currently
the only thing that's unique to VkImageMemoryBarrier2KHR is extra access
flags and pipeline stages, which we don't care about. This keeps a lot of
code from having to either handle two paths or handle the new path and then
do lots of conversions back to VkImageMemoryBarrier when running on older
drivers.
- For queue submissions we do the opposite. We promote old VkSubmitInfo to
VkSubmitInfo2KHR and process that in a common function, then if necessary
we decay back to VkSubmitInfo before sending to the driver.
2021-02-17 15:03:52 +00:00
baldurk
7e6a785055
Add test of vulkan dedicated allocations
2021-02-01 14:43:43 +00:00
baldurk
cf3dc150cb
Test compute bindless feedback on vulkan
2021-02-01 11:55:54 +00:00
baldurk
106999a43a
Fix leak of descriptor memory during each capture on D3D12
2021-01-25 11:13:28 +00:00
baldurk
f263e244f4
Tweak allowed memory increase when loading VK_Large_Descriptor_Sets
2021-01-19 17:25:35 +00:00
baldurk
64131e0510
Test vulkan overalys with rasterizer discard and otherwise invalid state
...
* E.g. no viewport/scissors bound.
2021-01-19 16:43:57 +00:00
baldurk
086b038d0b
Add simple checks for large memory leaks
...
* Smaller memory leaks are harder to differentiate from noise, so we go for a
large enough leak to be noticable over time (50,000 frames).
2021-01-19 15:22:12 +00:00
baldurk
ec50e9005a
Test inline uniform block descriptors in VK_CBuffer_Zoo
2021-01-13 15:32:09 +00:00
baldurk
7ff7e0a71d
Replace fixed C arrays with wrapper class in public interface
...
* These map more naturally to python tuples and are easier to wrap in and out.
* We also tidy up the FloatVecVal etc and standardise the members of
ShaderValue.
2020-12-09 18:16:08 +00:00
baldurk
39f4e82641
Add test of performance with large descriptor sets
2020-10-27 14:04:45 +00:00
baldurk
26f680f632
Check that sampler updates to immutable sampler descriptors are ignored
2020-10-21 14:57:42 +01:00
baldurk
4518fda3ed
Test entry points that could be applied to wrong resource types
2020-10-02 16:43:11 +01:00
baldurk
12260fe884
Apply UNDEFINED discard pattern for initial RP layout. Closes #2058
2020-10-01 13:23:19 +01:00
baldurk
eba6f5251c
Add success logs when each renderpass segment is verified
...
* It makes the log easier to read and so we know which part we're at if a pixel
fails.
2020-09-04 12:51:56 +01:00
baldurk
6de8c53f85
Fix VK_Extended_Dynamic_State
2020-09-04 11:39:10 +01:00
baldurk
0e7bdc4cc7
Fix python call to GetDisassemblyTargets
2020-09-04 10:43:36 +01:00
baldurk
30ecf66cca
Fix handling of variable descriptor counts to not allocate maximum size
...
* We previously ignored the variable descriptor size allowed by descriptor
indexing,
2020-08-28 19:06:06 +01:00
baldurk
64f98f286e
Add test of heavy descriptor reallocation and reuse
2020-08-20 13:48:17 +01:00
baldurk
152170dc58
Fix reference data not being updated at right place after map write
2020-08-10 14:09:36 +01:00
baldurk
7b1995a7ba
Properly handle offsets on memory maps in vulkan
2020-08-04 13:59:45 +01:00
baldurk
39431bb83f
Don't flush mapped memory in driver for detected coherent memory writes
2020-07-31 17:20:25 +01:00
baldurk
624da2fb25
Add test that we don't crash on draws with new viewports
2020-07-27 16:17:13 +01:00
baldurk
f6babe77fd
Handle depth clipping and depth bounds failure separately
...
* This prevents truly depth-clipped fragments from being wrongly reported as
other failures like backface culling.
2020-07-20 16:07:36 +01:00
baldurk
7a885ae9bd
Tweak ISA checks
2020-07-17 16:53:35 +01:00
baldurk
2bc59d1610
Fix mesh checks for extended dynamic state test
2020-07-17 16:53:35 +01:00