baldurk
f35e082228
Keep track of VmaAllocation for each image/buffer and free it
...
* VMA requires us to free each suballocation even on shutdown where we just want
to block-free
2019-11-25 23:36:44 +00:00
baldurk
284996ae2c
Check for errors on queue submissions
2019-11-25 23:36:44 +00:00
baldurk
b222d6388c
Don't flush bufinfo/resinfo opcodes
...
* The input miplevel is an integer even if the outputs are floats. The outputs
won't be denormal as they're dimensions etc.
2019-11-22 15:08:16 +00:00
baldurk
9de4931213
Don't ever flush immediate values in shader debugging
...
* We assume that fxc won't output a denormalised float in the bytecode, and this
prevents us from flushing integer inputs to otherwise flushable float-type
operations
2019-11-22 14:59:18 +00:00
baldurk
ce124cbc2e
Add sensible defaults for depth-stencil state in vulkan helpers
2019-11-22 14:56:51 +00:00
baldurk
187b1a6e47
Add ability to pass macros to SPIR-V compilation in tests
2019-11-22 14:56:51 +00:00
baldurk
53569e56bb
Allow AllocatedBuffer/AllocatedImage to be copied around in vulkan tests
...
* Instead of tracking their lifetime with that object, we move the lifetime
tracking into the parent VulkanGraphicsTest and destroy them all at the end. A
single handle can optionally be free'd on its own.
2019-11-22 14:56:51 +00:00
baldurk
4458ab3205
Remove assumptions that captures are always frames
...
* Previously we had "Frame X" and "Start of Frame" hardcoded in the event
browser, and the end of frame was in many cases assumed to be a present call.
However with the in-application API this is not necessarily true.
* Presents are now serialised separately in all APIs and displayed wherever they
happen in the frame, and if there is no present at the end of the frame an
"End of Capture" marker is inserted. Similarly API-defined captures are not
given a potentially misleading frame number.
2019-11-21 17:09:01 +00:00
baldurk
e353fd1a00
Fix WARP use on D3D12
2019-11-20 22:58:08 +00:00
baldurk
aa7c2170b9
Add D3D12 test command line parameter to enable GPUVA
2019-11-20 18:53:00 +00:00
baldurk
ff309d8c54
Add helpers for setting markers on D3D12
2019-11-20 18:53:00 +00:00
baldurk
1cd0f0b5e2
Add helpful check for making repro cases
2019-11-20 18:53:00 +00:00
baldurk
dedd3e83fa
Fix '--gpu warp' specifier in tests
2019-11-20 18:53:00 +00:00
baldurk
bda6066737
Allow specifying rasterized stream for creating geom shaders
2019-11-20 18:53:00 +00:00
baldurk
b6c9b6298f
Only read pImmutableSamplers pointer for sampler descriptors
2019-10-28 11:17:54 +00:00
baldurk
273a87e606
Fix calculation of array byte stride for structs with padding in DXBC
...
* Instead of summing the members offsets, we set it to the offset of the last
member plus the last member's size.
2019-10-25 18:29:30 +01:00
baldurk
c40c97558a
Add helper to set wide-string name on objects
2019-10-25 18:29:30 +01:00
baldurk
85b7f88737
Don't throw an error when specifying unused view parameters
2019-10-25 18:29:30 +01:00
baldurk
43432a4650
Add D3D11 test helper for setting rasterizer state
2019-10-24 18:02:54 +01:00
baldurk
cc0a539364
Set window title from test name
2019-10-24 18:02:54 +01:00
baldurk
3a2a89d10a
Add test of D3D12's WriteToSubresource
2019-10-24 18:02:54 +01:00
baldurk
1530bc6499
Let tests know if they're being run in debug mode
...
* This will let us do extra logging or dumping data we don't want to do on a
real run
2019-10-24 18:02:54 +01:00
baldurk
0559bfffd4
Test cbuffers with huge spaces on D3D12
2019-10-24 18:02:54 +01:00
baldurk
1eae20cad3
Add test of exporting/importing capture with a large number of buffers
2019-10-24 18:02:54 +01:00
baldurk
e00d2e28c5
Enforce that all tests are unique (to avoid copy-paste problems)
2019-10-24 18:02:53 +01:00
baldurk
fef94ef012
Add more tests of raw/structured buffer debugging
2019-10-24 18:02:53 +01:00
baldurk
16dace3d48
Fix tests running on 32-bit
2019-10-01 17:59:01 +01:00
baldurk
aed3d5fe4f
Add naming overload for VkSampler in tests
2019-09-30 16:30:40 +01:00
baldurk
812e601a88
Ignore sampler updates when descset has immutable samplers. Closes #1528
2019-09-23 16:48:04 +01:00
baldurk
c67995b85a
Make it easier to run tests from within UI
2019-09-20 11:20:45 +01:00
baldurk
40375a6d6e
Ensure all values are used and unstripped in GL_Vertex_Attr_Zoo
2019-09-18 15:28:12 +01:00
baldurk
612963bb11
Fix GL shader editing shader to not use uninitialised data
2019-09-18 14:16:28 +01:00
baldurk
f8221d858d
Ensure we don't hide an invalid buffer value that truncates to green
2019-09-18 13:55:27 +01:00
baldurk
f415ba00bf
Add missing binding for cbuffer
2019-09-18 13:55:11 +01:00
baldurk
35fec3f29e
Fix shutdown order for GL test context & window
2019-09-18 13:30:58 +01:00
baldurk
9a99696593
Explicitly request alpha channel for GL test backbuffer
2019-09-18 13:15:38 +01:00
baldurk
a237200cef
Fix NULL being included in marker in D3D12 test
2019-09-18 11:18:38 +01:00
baldurk
8060693188
Fix byte address buffer access in shader debugging
2019-09-17 14:08:48 +01:00
baldurk
6d282f90d9
rename TEST macro to un-confused visual assist
...
* Visual assist comes with a pre-defined interpretation of TEST() for
googletest, which conflicts with ours. We can't seem to override it with a
va_stdafx.h even
2019-09-17 12:40:00 +01:00
baldurk
a6aa0ac5d0
Handle other ignored garbage substates in vulkan graphics PSO creation
2019-09-17 12:02:37 +01:00
baldurk
f3220bd6fb
Use more stable clear color for comparison
...
* We need to allow for off-by-one errors in our color comparisons
2019-09-16 18:50:01 +01:00
baldurk
5e32e92205
Remove grey-area glShaderSource calls
...
* These crash on AMD and it's still unclear if they are spec legal.
2019-09-16 18:40:43 +01:00
baldurk
0b276673b6
Pick random target to pixeldebug in Iter_Test
...
* We also make sure that if we go back to a previous event to debug, that we
look up the right output corresponding to where it's bound there (since it
might be bound to a different slot).
2019-09-16 18:34:23 +01:00
baldurk
ea3e83609b
Remove GCN ISA files from 32-bit installer
...
* This is no longer supported upstream
2019-09-16 12:49:42 +01:00
baldurk
01fb4fd793
Test overlay with negative viewport height from KHR_maintenance1
2019-09-13 17:33:48 +01:00
baldurk
dff2583db3
Add tests for specific parameters
2019-09-13 17:33:48 +01:00
baldurk
a2df78369c
Add test of denormal flushing to D3D11 shader debug zoo
2019-09-13 17:33:48 +01:00
baldurk
d71b15115c
Add additional proteciton & testing of unbound images in vulkan
2019-09-13 17:33:48 +01:00
baldurk
c9f13a657d
Add test cases of shader editing on GL and Vulkan
2019-09-05 20:36:12 +01:00
baldurk
9627332667
Add a utility function to tests to pick a pixel and check its value
2019-09-05 20:33:25 +01:00