Commit Graph

9502 Commits

Author SHA1 Message Date
baldurk 0bcf9a4e2d Update DX headers to 10.0.18362.0, add new interfaces
* ID3D12GraphicsCommandList5 and ID3D12Device6
2019-09-19 20:09:38 +01:00
baldurk ea5515b1da Fix queries for IDXGIOutput4-6 2019-09-19 18:36:22 +01:00
baldurk ee3e4bf150 Fix DXGI implicit backbuffer index tracking
* When DXGI_PRESENT_TEST flag is present, the backbuffer index doesn't
  increment.
* Resizing the buffers resets the index back to 0.
2019-09-19 18:01:40 +01:00
baldurk 1f67022280 Free swapchain RTV before allocating new one 2019-09-19 16:47:57 +01:00
baldurk 3f9e3e3c94 Add stringise for DXGI_ERROR_ACCESS_DENIED HRESULT 2019-09-19 16:45:57 +01:00
baldurk 0e1c20342e Try to handle invalid callstack sizes in serialisation without crashing 2019-09-19 11:47:11 +01:00
baldurk 78fba8ec57 Fix linux build 2019-09-18 19:33:37 +01:00
Dominic Filion Guay 57c60cdfb8 Fixed issue with MSAA textures on Oculus Quest. 2019-09-18 19:28:42 +01:00
baldurk af97e50b3a Implement ConvertToR11G11B10(), add conversion tests 2019-09-18 19:25:11 +01:00
baldurk 2d8b048a97 Return view format stride in bytes not in bits 2019-09-18 17:04:23 +01:00
baldurk 8cacf6927d Handle unormten correctly 2019-09-18 17:04:10 +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 65cc331b10 Ensure we can always map for read even for non-persistent buffers 2019-09-18 13:55:04 +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 ba16bd9bfe Pass PSO when decoding cbuffer variables in python example 2019-09-18 13:04:50 +01:00
baldurk 702c7cf093 Add use of ReplayOptions to python API examples 2019-09-18 13:04:38 +01:00
baldurk 7831a42ccc Fix vulkan handling of ETC2_EAC_RGBA8 to properly encode ResourceFormat
* We consider ETC2 to be the base RGB profile, optionally with punch-through
  alpha, so compCount and type gives those formats. EAC covers R11, RG11, and
  then the RGB8 + A8 mode, which is again disambiguated with compCount and type.
2019-09-18 12:41:44 +01:00
baldurk a237200cef Fix NULL being included in marker in D3D12 test 2019-09-18 11:18:38 +01:00
baldurk 62b9245215 Calculate basename by hand, for windows paths on linux 2019-09-18 11:18:28 +01:00
baldurk 52e4c6db70 If we hit EINTR in a blocking recv/send, retry instead of failing
* blocking send/recv will not be resumed after a signal handler no matter what,
  so we need to retry ourselves. This does mean extending the timeout but that's
  fine since it would be pathological to have EINTR continually arrive and
  extend the timeout to an unreasonable duration.
2019-09-18 11:01:40 +01:00
baldurk 8060693188 Fix byte address buffer access in shader debugging 2019-09-17 14:08:48 +01:00
baldurk c64183fbb3 Update toolwindowmanager to edce1185 2019-09-17 13:56:54 +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 3005172aa5 Tweak the phrasing of crash dialog to better explain what happened
* In particular make it clear that crashes caught in the injected program may or
  may not be a RenderDoc bug. Even if we could point the finger to a particular
  DLL we can't necessarily tie that DLL to the responsibility of either us or
  the application.
2019-09-17 11:43:01 +01:00
baldurk 6cee53a36d Fix out of bounds access on invalid SPDB inline data 2019-09-16 21:27:21 +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 109803781c Don't flush register values used for indirect access 2019-09-16 18:34:23 +01:00
baldurk bbb7270ccd Handle binding NULL pViews array, interpret it as unbinding all views 2019-09-16 18:34:22 +01:00
baldurk 03e00ea12d If there are no UAVs bound, don't try to set invalid UAVStartSlot 2019-09-16 17:27:41 +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 383a2060a6 Update generated SPIR-V code to SPIR-V 1.5 2019-09-16 12:13:52 +01:00
baldurk 71004ac9c2 Update vulkan headers to 1.1.123, support new extensions
* Supported extensions: VK_AMD_device_coherent_memory,
  VK_KHR_shader_subgroup_extended_types, VK_GOOGLE_user_type
2019-09-16 12:06:56 +01:00
baldurk 9463cdf785 Add better error checks and race condition protection in crash handling 2019-09-16 11:18:30 +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 e4d78e8f2b Skip empty descriptor writes from templates when applying 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
Hanif A 0558e9a644 Spelling error 2019-09-13 15:47:56 +01:00
baldurk 659aaae047 Fix handling of UAVStartSlot above max RTV count 2019-09-11 14:41:08 +01:00
baldurk d9acded76c Add indirect buffer bit to our own internal indirect buffer 2019-09-11 09:36:50 +01:00
baldurk 07269b9693 Don't full replay vkCmdExecuteCommands if we're only doing a single draw 2019-09-11 09:36:36 +01:00
baldurk 173a2684e5 Fix replaying of executed secondary command buffers 2019-09-10 18:32:23 +01:00