Commit Graph
9951 Commits
Author SHA1 Message Date
baldurk 0fe3a1122e Add missing return value on assignment operator 2020-01-08 19:10:52 +00:00
baldurk 8235ac7e6f Only enable RGP capturing when AMD GPU is in use 2020-01-08 19:10:52 +00:00
baldurk 8b851679a8 Fix remove_lines.py script to explicitly read input as cp1252
* The output from sphinx is in cp1252 for CHM builds, which is the only place
  this script is used. Trying to read it as UTF-8 will fail on non-ASCII
  characters.
2020-01-08 19:10:52 +00:00
baldurk b3d9a4a41b Don't consider stderr output from keytool to indicate a failure
* Some warnings come out over stderr, instead check the keystore to make sure it
  contains the key we generated.
2020-01-08 19:10:52 +00:00
baldurk 72cd54aa0b Only import tkinter when needed
* Otherwise this could fail if tkinter isn't available on platforms where we're
  not even going to run the test
2020-01-08 19:10:51 +00:00
baldurk a05622b37e Force stencil swizzled output to only output green
* On some GPUs the stencil output comes in all channels, not just green, and
  it's unclear if this is legal or not. To be safe just mask out the green we
  expect.
2020-01-08 19:10:51 +00:00
baldurk 365d2e9075 Detect when a zero-sized buffer is bound and skip GL draws 2020-01-08 19:10:51 +00:00
baldurk 0798a9cb1d Only real SetMarker calls should be flagged as SetMarker
* If we treat 'virtual' events like command buffer begin and end as SetMarker
  type markers, the event selection will replay more than we want it to.
2020-01-08 19:10:51 +00:00
Andrii SimiklitandBaldur Karlsson 6ba58f153d Fix a handling of dlsym(RTLD_NEXT) without loading libGL. Closes #1463
* The original fix leads to infinite recursion in GLX, EGL hooks.
  Due to `dlopen` function override in `librenderdoc.so` library the
  `Process::LoadModule` function always returns a handle of
  `librenderdoc.so` instead of requested library. So instead of
  `real function` we receive an address of the `hook` that leads
  to the infinite recursion in this `hook`.

Fixes: 6d40bbb ('Add experimental wayland support. Refs #853')
Tested-by: Andrii Simiklit <andrii.simiklit@globallogic.com>
2020-01-08 19:10:37 +00:00
Raul TambreandBaldur Karlsson 45fbb7b06d Include <map> when building Wayland support
Fixes #1666
2020-01-08 13:00:22 +00:00
baldurk 8f909275a7 Add tests of RGP capturing 2020-01-07 17:59:10 +00:00
baldurk 6dde0ba652 Delete temp RGP capture before triggering capture 2020-01-07 17:59:04 +00:00
baldurk 29a650d859 Don't delete the 0 VAO or FBO, even if the application asks nicely 2020-01-07 17:28:17 +00:00
baldurk 319455194b If android debug key generation fails, bail out of patching 2020-01-07 17:28:17 +00:00
baldurk b082bbe78f Use offsets rather than pointers when patching android manifest
* Fixes a crash when using bytebuf now would cause resizes
2020-01-07 17:28:17 +00:00
baldurk 37f762a08f Use renderdoc-specific name for keystore alias on android 2020-01-07 17:28:17 +00:00
baldurk ff37dc9787 Update APK installation failure message to mention USB APK installs
* Apparently some android devices don't allow installation of APKs over USB by
  default.
2020-01-07 17:28:17 +00:00
baldurk 10aa4662ec Add deliberate fall-through comment into scintilla code 2020-01-07 17:28:17 +00:00
baldurk 7b678a4dae Add missing break in android error-mapping switch 2020-01-07 17:28:17 +00:00
baldurk 77b76b98a8 Allow -Wimplicit-fallthrough on qrenderdoc project 2020-01-07 17:28:17 +00:00
baldurk 9950d8dbf3 Fix compilation of disabled custom APK location codepath 2020-01-07 17:28:17 +00:00
baldurk 46a70a6c5f Multisampling increases the bytesize of textures 2020-01-07 17:28:17 +00:00
baldurk a8d26fb018 Ensure that ExecuteIndirect forced buffer references are in-frame
* If we add the references after transitioning back to background capturing,
  they will be ignored.
2020-01-07 17:28:17 +00:00
baldurk 353b8d8d27 Remove unnecessary D3DCOMPILE_DEBUG_NAME_FOR_SOURCE flag
* Causes errors on D3DCompile versions that don't support it.
2020-01-07 17:28:17 +00:00
Steve KarolewicsandBaldur Karlsson bbd2a4ecb0 Implement D3D12Replay::DebugThread
Also added logic for initiating debugging in the D3D12 pipeline state
viewer. Both locations are guarded by defines for now.
2020-01-07 17:28:01 +00:00
baldurk af1f98039b Fix implementation of WriteAll for rdcarray types 2020-01-06 19:15:28 +00:00
baldurk 5ef02841b8 Build VS2019 on appveyor 2020-01-06 16:29:23 +00:00
baldurk c43d9146a9 Use globbing to get dependencies for swig builds
* Fixes a warning in VS2019 from stale warnings and should mean rebuilds are
  more accurate too.
2020-01-06 16:25:34 +00:00
baldurk 7771c4bf1c Add compile fixes for VS2019 2020-01-06 16:25:34 +00:00
baldurk 9ede309c39 Update qrenderdoc README 2020-01-06 16:20:45 +00:00
baldurk 2916c0f9f7 Update copyright years to 2020 2020-01-06 16:20:45 +00:00
baldurk 09b6804e71 Tweak issue template for clarity
* Make it clear that it's expected for feature requests as well as bug reports.
* Clarify that the API is the graphics API in use.
2020-01-06 16:20:44 +00:00
baldurk d06d05ed59 Fix typo using wrong RGP marker for ending capture region 2020-01-06 16:20:44 +00:00
baldurk 6d85b9e990 Upgrade travis to run on bionic
* The python we were using on trusty was EOL and so breaking in sphinx. Rather
  than continuing on trusty, we upgrade to bionic and deliberately target gcc-5
  and clang-3.8 (the only thing we care about being old/minspec to ensure we
  don't break it).
2020-01-06 16:20:44 +00:00
baldurk b692b95967 No longer upgrade python in travis OSX build, but overwrite links
* We want to be sure that python3 is found, not python2. Travis's python is new
  enough but we need to force-link it
2020-01-06 16:20:44 +00:00
baldurk 7454e9047e Ensure only one sphinx module:: directive exists
* Others using automodule:: must have :noindex:.
* I'm unclear when this is required - travis hit an error on this but I couldn't
  reproduce it locally, but it seems harmless.
2020-01-06 16:20:44 +00:00
baldurk 0bf65b1abc Fix sphinx-paramlinks to work with older versions of sphinx 2020-01-06 16:20:44 +00:00
baldurk 1e0c96aefa Update sphinx_paramlinks to latest version 2020-01-06 16:20:44 +00:00
baldurk 69b998104a Fix xuint -> xint typo in documentation 2020-01-06 16:20:44 +00:00
baldurk ba3b4dda36 Resources under VkWin32KeyedMutexAcquireReleaseInfoNV are optional 2020-01-06 16:20:44 +00:00
baldurk 77b6b627da Compressed GL texture formats are always implicitly filterable
* So never fail texture completeness because of that rule.
2020-01-06 16:20:43 +00:00
Steve KarolewicsandBaldur Karlsson a9a2c3e359 Add tests for viewing depth with ClearBeforeDraw.
Also updated documentation/README files to reflect the changes and
help others get up to speed on editing tests/documentation.
2019-12-20 20:11:53 +00:00
baldurk dbbfe4c35c Fix clang warning about adding to string literal
* This is what we want to do but it's admittedly quite strange
2019-12-20 15:09:33 +00:00
baldurk 763dbb5f13 Don't check width > 1 for image viewer to choose between 1D and 2D 2019-12-20 13:45:29 +00:00
baldurk 82745ce562 Add some markers to vulkan texture zoo data rendering 2019-12-19 21:50:13 +00:00
baldurk a0023d84cd Fix use-after-free with dangling reference while splitting subresources 2019-12-19 21:50:13 +00:00
baldurk 27098f8f70 Give our threads debugger-friendly names 2019-12-19 21:50:13 +00:00
baldurk 2620f0bb8c Add missing BGR flip for UINT/SINT textures in vulkan texture zoo 2019-12-19 21:50:13 +00:00
Steve KarolewicsandBaldur Karlsson 36906d9edf Try to clear the depth buffer for the ClearBeforePass/Draw overlays
This functionality can be very valuable when debugging shadow map
rendering, for example. Because the correct value to clear to might not
be known, the depth function is checked to see what to clear to. If the
depth function is equal, not equal, or always, depth is not cleared, to
avoid producing incorrect (and not useful) results.
2019-12-19 21:50:01 +00:00
Yevhenii KolesnikovandBaldur Karlsson e46837b332 Update Vulkan environment variable on Linux
Update variable for enabling Vulkan Renderdoc capture on Linux.

Signed-off-by: Yevhenii Kolesnikov <yevhenii.kolesnikov@globallogic.com>
2019-12-19 15:30:44 +00:00