Commit Graph

245 Commits

Author SHA1 Message Date
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
baldurk 588025fc6c Add test case for misaligned dirty regions on vulkan 2019-09-05 11:48:47 +01:00
baldurk 4a4884129b Allow overriding replay options in test cases 2019-09-05 11:48:47 +01:00
baldurk 205ec0ecf8 Update misaligned dirty demo to have interesting data in all bytes 2019-09-04 18:40:43 +01:00
baldurk bae2ea3767 Add demo program that misaligns the dirty region of a buffer 2019-09-04 18:13:41 +01:00
baldurk c761f675c4 Add test that SPIR-V 1.3 shaders are disassembled, reflected, and edited 2019-09-04 14:33:13 +01:00
baldurk c9e668cdfc Create highest vulkan instance possible in tests, and save version 2019-09-04 13:17:11 +01:00
baldurk 061a376901 Fix D3D12 tests to run on D3D12On7 2019-08-29 10:20:38 +01:00
baldurk 096e5af08b Fix graphics tests to pass default replay options to OpenCapture 2019-08-29 10:02:29 +01:00
baldurk ab05d4cbc8 Fix OpenGL SPIR-V compilation using external glslc in tests 2019-08-28 18:07:56 +01:00
baldurk 07158ad24c Fix support for triangle fans on GL/Vulkan 2019-08-20 15:33:12 +01:00
baldurk 27dcb72b93 Update vulkan headers to 1.1.120 2019-08-20 15:33:12 +01:00
baldurk ee43d4377c Account for pipeline specialisation constants when reflecting shaders 2019-08-16 17:38:35 +01:00
baldurk ef269e2b92 Add support for VK_EXT_line_rasterization 2019-08-15 18:27:39 +01:00
baldurk 715c18b591 Update valgrind suppressions for python 3.7 2019-08-15 13:04:58 +01:00
baldurk 9589d2d893 Add support for VK_KHR_imageless_framebuffer 2019-08-14 18:21:20 +01:00
baldurk 211d1b694f Make VK_Indirect less sensitive to event IDs changing 2019-08-14 14:35:14 +01:00
baldurk 272f993138 If a test already isn't available, don't overwrite that error 2019-08-14 14:15:52 +01:00
baldurk 0c4c710170 Don't re-check fences within the same expire pass
* If we check a fence each time it's referenced, we risk getting a different
  answer the second time we check and expiring it too early.
2019-08-14 14:15:51 +01:00
baldurk 24107ce4ce Don't require depthClamp in vulkan tests unnecessarily 2019-08-14 11:03:58 +01:00
baldurk 1fc9f36114 Add support for VK_EXT_index_type_uint8 2019-08-12 17:53:23 +01:00
baldurk 53fdd792b7 Update vulkan headers to 1.1.119 2019-08-12 17:53:22 +01:00
baldurk 08de2623f8 Add proper feature check for D3D11 test 2019-08-09 11:39:51 +01:00
baldurk cb9b82899c Fix D3D11_Mip_RTV test 2019-08-09 11:30:30 +01:00
baldurk d26462dca8 Add ugly workaround for newer compiler used in vulkan SDK 2019-08-08 10:44:36 +01:00
baldurk f82cce065d Remove note about 'work in progress' Qt UI in linux README 2019-07-29 16:54:42 +01:00
baldurk e9cf36800b Check that debugged value matches shader output in Iter_Test 2019-07-25 15:14:43 +01:00
baldurk 9e2ce0077a Use documented variables for Iter_Test action chances 2019-07-25 15:13:19 +01:00
baldurk dbd8a99a61 Allow a custom epsilon for value comparisons in tests 2019-07-25 12:25:40 +01:00
baldurk d03fd1dd25 Fix support for arrays-of-struct vertex outputs. Closes #1438 2019-07-04 16:28:15 +01:00
baldurk 534f39c723 Don't try to populate maps from dirty resources with no initial contents
* If a buffer has been marked as dirty mid-frame but wasn't dirty at the start
  of the frame then it won't have initial contents. We have to treat it as if it
  wasn't dirty and fall back to using our existing data for it, assuming that is
  a valid way to pre-populate the map's shadow buffer.
2019-07-02 16:57:12 +01:00