Commit Graph

9285 Commits

Author SHA1 Message Date
baldurk 24107ce4ce Don't require depthClamp in vulkan tests unnecessarily 2019-08-14 11:03:58 +01:00
baldurk 7c1d4189cc Don't try to create pipelines with sample rate shading if not supported 2019-08-14 11:00:41 +01:00
baldurk 3a304862f4 Unwrap serialised info passed to vkCreateDescriptorUpdateTemplate 2019-08-14 10:59:52 +01:00
Aliya Pazylbekova 97c3186e34 Vk Pixel history: Add occlusion query test
Create a pipeline for doing occlusion queries
2019-08-13 20:30:42 +01:00
Waffle fa18367109 Updated documentation with unpackData fix
Updated example documentation to match the already accepted "Fixed Incorrect Tuple Usage in unpackData" fix.
2019-08-13 10:33:34 +01:00
baldurk 6b3dc39b68 Handle GL_RGBA2 texture format as if it were GL_RGBA8 2019-08-12 20:47:31 +01:00
baldurk ff4a152df7 When evaluating SPIR-V bindpoint mapping, set unused entries to -1 2019-08-12 20:45:29 +01:00
baldurk 1fc9f36114 Add support for VK_EXT_index_type_uint8 2019-08-12 17:53:23 +01:00
baldurk 2245957e38 Fix referencing of program pipeline bound programs in renderstate 2019-08-12 17:53:22 +01:00
baldurk 93a546ab4b Remove extra dos newlines from scintilla editor. Closes #1493 2019-08-12 17:53:22 +01:00
baldurk 53fdd792b7 Update vulkan headers to 1.1.119 2019-08-12 17:53:22 +01:00
baldurk 61de35bfc6 Pass through primitive restart state when rendering meshes 2019-08-12 17:53:22 +01:00
baldurk c0f7dc34e7 Ignore racey validation message about swapchain currentExtent 2019-08-09 12:18:52 +01:00
baldurk 470d6ce682 Add some missing image layout sanitisation 2019-08-09 12:16:51 +01:00
baldurk 63e57afa1f Fix reference tracking of programs bound to program pipelines in GL 2019-08-09 11:49:38 +01:00
baldurk 5c01ab3ea9 For resources written in the frame, mark dirty at the end
* If the write was recorded only to the frame, our background tracking may no
  longer be up to date so if the resource isn't dirty already it should be
  marked dirty so that we fetch its state properly on any subsequent captures.
  This is most relevant for GL where many objects have mutable state which may
  only be recorded mid-frame.
2019-08-09 11:49:28 +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 674ee33309 If present returns OUT_OF_DATE, force repaint in CheckResizeOutputWindow 2019-08-09 11:07:04 +01:00
baldurk 8a677801ba Only process activity-looking things in activity table. Closes #1445 2019-08-08 16:56:38 +01:00
baldurk 9eb7389e16 Add awful hack to work around very buggy android port forwarding 2019-08-08 16:16:14 +01:00
baldurk 4d99184626 Re-order object shutdown to workaround MoltenVK bug 2019-08-08 13:41:32 +01:00
baldurk 79604c545b Remove unnecessary VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT from dummy images 2019-08-08 12:45:48 +01:00
baldurk 1eb70f033d Don't print sType values in hex 2019-08-08 11:08:16 +01:00
baldurk 207e4017bb Calculate correct row pitch for proxy YUV textures 2019-08-08 11:05:45 +01:00
baldurk d26462dca8 Add ugly workaround for newer compiler used in vulkan SDK 2019-08-08 10:44:36 +01:00
baldurk 8382d3e4f1 Fix check for legacy adb devices 2019-08-07 21:45:10 +01:00
Aliya Pazylbekova 3eccdfcbe0 Fix image resource tracking
Currently if image range uses VK_REMAINING_MIP_LEVELS it gets
converted to MipMaxValue (63).
https://github.com/baldurk/renderdoc/blob/e17631a4cc7e036b12ca5dbe0d37a8bd15b4f8d9/renderdoc/driver/vulkan/vk_resources.h#L1625
Which is then written to ImageRange and used when updating
descriptor sets. The code downstream checks for VK_REMAINING_MIP_LEVELS
but because the value is 63, it is not adjusted to the actual value.
Also affects layer count.
2019-08-07 15:12:44 +01:00
Steve Karolewics c4caf64464 Fix brush colors in pixel history view
The shader output brush colors were displaying the tex before color
instead of the shader output color. Updated the linear -> sRGB formula
to match what DirectX does.
2019-08-05 10:37:39 +01:00
baldurk 4b2d753521 Don't discard alpha in PNG/TGA formats. Refs #1479 2019-08-01 17:03:43 +01:00
baldurk 78ae520e3a Hide find/jump toolbars when closing a capture 2019-08-01 12:00:23 +01:00
baldurk 87e51658f0 Update to RGA 2.2, support Navi (gfx1010)
* This requires an updated set of plugins for the RGA binary files.
2019-08-01 11:49:30 +01:00
baldurk 51c15d596f Identify image viewer use before adding API to analytics 2019-08-01 11:19:55 +01:00
baldurk 006ba0e103 Fix another unused lambda capture 2019-07-31 20:18:41 +01:00
baldurk f7d988b9cf Fix unused lambda parameter 2019-07-31 19:07:56 +01:00
baldurk 069e5f435f Manually flush denorms only on float32 parameters in half conversions 2019-07-31 17:51:13 +01:00
baldurk e2704fa2eb Add an abstracted interface around android-specific handling
* This makes it easier to use the same kind of interface to manage other kinds
  of devices.
2019-07-31 17:51:13 +01:00
baldurk 06f2e61b8f Refactor RemoteHost to be copyable with shared storage
* This allows RemoteHost handles to still be valid and usable (if returning
  empty data) when they are deleted/removed if the device is disconnected, as
  well as providing better multi-thread access (they lock internally)
2019-07-31 17:51:12 +01:00
Jimmy Lee da289fdbcc missed one change for the vulkan in app api capture fix 2019-07-30 19:13:26 +01:00
baldurk 7ad303f6ad Defer to real GetProcAddress for NULL parameters. Closes #1476
* Returning NULL as the result is not necessarily correct - a NULL module is an
  alias for the executable itself.
2019-07-30 16:51:49 +01:00
baldurk f8be2a4fd1 Fix copy-paste typo in vendor check 2019-07-30 16:51:49 +01:00
Jimmy Lee 98b623cfcc fixed in app api capture 2019-07-30 16:51:30 +01:00
Silent f97a1746e9 Qt: Fixed behaviour of some buttons
Several buttons had functors connected to wrong signals,
which resulted in incosistent UI behaviour.
2019-07-30 16:50:18 +01:00
baldurk f82cce065d Remove note about 'work in progress' Qt UI in linux README 2019-07-29 16:54:42 +01:00
baldurk d5984a5c8b Don't create dummy texture buffer if extension isn't supported 2019-07-29 16:54:42 +01:00
baldurk 4ab0e9c466 Make sure transform feedback buffers are referenced in frame correctly 2019-07-29 16:54:42 +01:00
baldurk fc8bf393e5 Fix string formatting of type name in warning 2019-07-29 16:54:42 +01:00
baldurk 97770520ee Add version check to Qualcomm glCopyImageSubData workaround 2019-07-29 16:54:42 +01:00
baldurk 04e92edf20 Handle 16-bit backbuffer colour as RGB565 in GLES captures 2019-07-29 16:54:42 +01:00
Steve Karolewics 665ad6c05c Move D3D11 API usage out of dxbc_debug.cpp
The following instructions used D3D11 calls to compute results, and have been
moved to an API wrapper class that is defined in d3d11_shaderdebug.cpp:
transcendentals (rcp, rsqrt, exp2, log2, and sincos), sample info/pos, bufinfo,
resinfo, and sample/load/gather/lod.
2019-07-29 11:48:00 +01:00