Commit Graph

7843 Commits

Author SHA1 Message Date
baldurk 94fcff1616 Force installer to always overwrite all files regardless of version/date
* The AMD plugins e.g. don't have consistent incrementing versions, and in
  general we don't care too much about version numbers or creation/modified
  dates. We want the installer to always install the files it should.
2018-08-29 20:50:13 +01:00
Gary Sweet 4ab781ec8c Add more missing Vulkan cache flushes
Missed these the first time around
2018-08-29 11:59:15 +02:00
isurmin 79579b85b3 fix x86 build 2018-08-29 11:58:17 +02:00
isurmin adb7df57d4 fix issues and remarks 2018-08-29 11:58:17 +02:00
isurmin 02b3cdad94 Implement support for Intel performance counters 2018-08-29 11:58:17 +02:00
baldurk 76d9ddd584 Improve highlighting of unbound vertex/index buffers in pipeline state 2018-08-28 18:23:57 +01:00
baldurk 5024f80ee9 Make code more robust if indexed draw has unbound ibuffer. Closes #1085 2018-08-28 18:23:57 +01:00
baldurk d24c53c7e0 Handle callstack resolution if DIA isn't registered
* We can load up the msdia140.dll manually and initialise it that way even if
  it's not registered properly. That does mean we need to locate the DLL on our
  own though - we try in PATH and in a few default paths, and otherwise prompt
  the user for it (and save the path in our config).
2018-08-28 18:23:57 +01:00
baldurk a05d63852e Fix label for shader processing tools in disassembly dropdown 2018-08-28 18:23:57 +01:00
baldurk f70a86042d Pass {glsl_stage4} parameter when calling for disassembly as well 2018-08-28 18:23:57 +01:00
baldurk 52aafd6331 Update to RGA 2.0.1 backend, support gfx900/gfx902
* This requires an updated set of plugins for the RGA binary files.
2018-08-28 18:23:57 +01:00
Gary Sweet 9721150aa9 Add missing Vulkan cache flushes and invalidates
Without these flushes and invalidates, I see missing
data on readback and bad text in the overlay.
2018-08-28 14:24:13 +02:00
baldurk a8f35f1bf8 Linux compile fix 2018-08-27 17:31:41 +01:00
baldurk 0352e50fe5 Lock inside FetchOrdinalNames just in case
* It's possible for two threads to hit GetProcAddress on the same module at
  once, try to late-fetch the ordinals, and clash. If we lock then only one
  thread will perform the fetch, the other thread can wait and bail out once it
  finds the ordinals already filled out.
2018-08-27 17:09:16 +01:00
baldurk 8ebd0c5d9b Reconfigure callstack capture on GL when context is created
* The WrappedOpenGL constructor may run too early, before capture options are
  properly processed. So we re-process them when and if the API is properly
  initialised.
2018-08-27 17:09:16 +01:00
baldurk 5907524012 Trim trailing NULL character from returned GCN ISA string 2018-08-27 17:09:16 +01:00
baldurk 63be6d261c Make mesh output buffer resizing a little more conservative
* Instead of calculating the mesh output size exponentially by continuously
  doubling, we instead double up to a reasonable size (256MB) and then just
  allocate only enough to cover what we need after that point. This avoids
  getting into the situation where a mesh needs 1.04GB of data and we allocate a
  2GB buffer - which may then fail.
2018-08-27 17:09:16 +01:00
baldurk 5287a44e80 Handle 0 byte resource updates (possible with empty UpdateSubResource) 2018-08-27 17:09:16 +01:00
Benjamin Thaut ccdd7acd0b Avoid rare deadlock inside SHCreateDirectoyExW.
Replace call to SHCreateDirectoyExW on the win32 platform with multiple
calls to CreateDirectoryW to avoid deadlock within CoUninitialize which
is called from SHCreateDirectoyExW. MSDN states that calling
CoInitialize during DllMain is prohibited. SHCreateDirectoyExW
internally calls CoInitialize, thus calling SHCreateDirectoyExW inside
the DllMain is prohibited as well.
2018-08-27 16:53:54 +02:00
baldurk adb3bb8cc6 Ensure RENDERDOC_VERSION env var passed to WiX on Windows 10 WSL 2018-08-20 11:57:05 +01:00
baldurk bd7a3c966e Don't copy .lib files as we don't need them 2018-08-20 11:57:04 +01:00
baldurk c599ab96e6 Make android compile friendly for Windows 10 WSL 2018-08-20 11:57:04 +01:00
baldurk 3f2862bcd3 Put MSBuild.log in build tree rather than /tmp to work on Windows 10 WSL 2018-08-20 11:57:04 +01:00
baldurk 5b89ababd5 Prefer make.sh for building docs as htmlhelp is removed from Makefile
* Also it's more flexible in locating necessary tools like sphinx-build or
  python
2018-08-20 11:57:03 +01:00
baldurk 92f593f38c Use windows 10 SDK as well as 8.1 SDK to find d3dcompiler_47.dll 2018-08-20 11:57:03 +01:00
baldurk 69cedf0732 Locate windows root as it is /mnt/c by default on Windows 10 WSL 2018-08-20 11:57:02 +01:00
baldurk 35d23582c1 Use MSYS2_ARG_CONV_EXCL to handle /parameters to windows executables 2018-08-20 11:57:02 +01:00
baldurk a12b62f0c6 Detect Windows 10 WSL with uname in main build script 2018-08-20 11:57:01 +01:00
baldurk bfd575306c Improve docs build script to work on Windows 10 WSL 2018-08-20 11:57:01 +01:00
baldurk 4d619d9b17 Only query fbconfig for valid non-NULL context. Closes #1082 2018-08-17 19:49:53 +01:00
baldurk 5c58146a95 Try to protect against crashes if injecting into a GL program on windows
* As the large red warning says, this still won't work, but at least it
  shouldn't crash.
2018-08-17 19:49:52 +01:00
baldurk babe36bf7e Preserve stdout/stderr from external shader tools and display to user 2018-08-15 13:40:21 +01:00
baldurk b90efe114a Check for D3D12 hardware feature support even if interface is available 2018-08-14 19:42:37 +01:00
baldurk d6706a9c48 Don't allow resource previews to have negative sizes
* This isn't a real bug, it only happens temporarily during first show of a
  window while the geometry is all messed up, but it causes some error spam in
  the log so it's better to fix.
2018-08-14 17:43:14 +01:00
baldurk 697f5a2717 Don't mark default VAO/FBO as internal resources. Closes #1077
* We need their initial states, so they should be tracked properly. It's not a
  big problem to have them included in 'ref all resources'.
2018-08-14 17:43:13 +01:00
baldurk 8b0d1d7e42 Don't return a time-bomb unwrapped resource from CreateReservedResource
* This resource will fail when passed to any other function, so since we don't
  support tiled resources currently on D3D12 just print a stronger error and
  return an error.
2018-08-14 17:43:12 +01:00
baldurk 1ee6ea3916 Make sure messages with bold tag are detected as HTML 2018-08-14 17:43:07 +01:00
baldurk 2bc81b8617 Don't try to recreate breakpad server if it's still running 2018-08-13 18:27:26 +01:00
baldurk 9b7581011e Add a per-capture API to target control protocol
* This means that if an application uses more than one API, the correct API is
  listed for each capture.
2018-08-13 18:27:26 +01:00
baldurk eaa763d748 Add support for GL_external_objects family of extensions
* This allows sharing between Vulkan and GL.
2018-08-13 18:27:25 +01:00
baldurk 4da8c71a14 Remove assert that aliased vulkan promoted functions are identical 2018-08-13 18:27:25 +01:00
baldurk faaaf7993c Fix QProcess hang problem if SIGCHLD handler runs early 2018-08-13 10:36:14 +01:00
baldurk 2f82f41e32 Fix D3D12 anisotropic comparison/min/max filter checks 2018-08-10 23:51:09 +01:00
baldurk e2c6dc0317 Remove unused function 2018-08-10 18:12:29 +01:00
baldurk 0105707f54 Add some missing pNext chain handlers 2018-08-10 18:12:29 +01:00
baldurk 1269038923 Fix calculation of descriptors in heap for unbounded range. Closes #1076 2018-08-10 18:12:29 +01:00
baldurk c3191e37bb Add support for GLVND split libGLX/libOpenGL libraries. Closes #1069 2018-08-10 18:12:28 +01:00
baldurk b539eca0f6 Don't delete QProcess early if qrenderdoc takes too long to run 2018-08-10 18:12:28 +01:00
baldurk bfe6c75bcc Don't replay markers in GL while timing. Refs #1068
* We also clear GL errors after replaying to ensure we don't get false positives
  when checking for errors beginning the query.
2018-08-10 18:12:28 +01:00
baldurk a128144d50 Add alias support for glUniform ARB variants
* These come from GL_ARB_shader_objects which we technically don't support, but
  they're identical so it's likely fine to implement them as aliases.
2018-08-10 18:12:28 +01:00