Commit Graph

9264 Commits

Author SHA1 Message Date
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
baldurk 94648f8fe2 Replace QSortFilterProxyModel in LogView which doesn't scale well 2019-07-25 16:49:21 +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 e6a0f70997 Don't flush indices for resources/samplers 2019-07-25 15:12:32 +01:00
baldurk 3b37816a8b Fix structure stride calculation for array inputs
* This could cause multiple primitive data to be incorrect
2019-07-25 12:25:58 +01:00
baldurk dbd8a99a61 Allow a custom epsilon for value comparisons in tests 2019-07-25 12:25:40 +01:00
baldurk 81cfbc60da Ensure D3D11InitialContents is properly initialised 2019-07-25 10:28:44 +01:00
baldurk c5409b40cf Fix device-type resources not being referenced on D3D12/VK 2019-07-25 10:28:28 +01:00
Dmitry Soshnikov 3cc9557264 Introduce Low-Memory mode 2019-07-24 22:45:41 +01:00
Aliya Pazylbekova f3ef0caa28 vulkan pixel history - Part 1
Copy pre and post modification values
2019-07-24 18:24:13 +01:00
baldurk c8f472ec49 Remove some unnecessary includes 2019-07-24 15:37:50 +01:00
Sam Serrels a0d3307f4d Fully init pQueueCreateInfo if requesting additional queues 2019-07-24 15:31:13 +01:00
Tillmann Karras 622c8bdb0e BufferViewer: fix 2/4-byte primitive restart 2019-07-24 11:24:09 +01:00
Tillmann Karras f61a5e464c BufferViewer: never leave indices uninitialized 2019-07-24 11:24:09 +01:00
baldurk 776b689701 Fix documentation of return types on some application API functions 2019-07-23 14:46:22 +01:00
baldurk 4f872b8c8d Fix check for windows predefined macros in renderdoc_app.h 2019-07-23 14:46:22 +01:00
Wasin Thonkaew 1026ce481d fix url of debug markers sample 2019-07-23 14:46:04 +01:00
baldurk 7478bda617 If queried buffer size&offset are 0, don't bind with range. Closes #1461 2019-07-22 19:57:14 +01:00
baldurk 98e93d282d Make keystore generation an explicit dependency of apk build 2019-07-22 19:26:48 +01:00
baldurk ac1b062d42 Consider the first glBindTexture chunk to be resource initialisation 2019-07-22 19:03:49 +01:00
baldurk d91683e7c6 If instance step rate is 0 for instanced properties, don't divide by 0 2019-07-22 16:57:20 +01:00