Commit Graph
10393 Commits
Author SHA1 Message Date
baldurk 3587411c4a Add handling for min precision in DXBC bytecode. Refs #720
* This includes ISG1 and OSG1 chunk types which have an extra enum on
  the end for the minimum precision type.
* Also add extra casing for min precision types (although anywhere they
  are on an externally-facing interface, they're not actually min
  precision).
2017-08-15 17:36:28 +01:00
baldurk cfbaf68942 Select the next highest event when replaying from an event
* Searching down from the end for the next lowest event causes us to
  sometimes replay backwards when a marker is selected (and has no
  event in the array to replay directly). This can crash on vulkan, and
  is unintuitive/wrong on other APIs. Instead we follow the behaviour
  that we have elsewhere so that when a marker is selected we move
  _forward_ in the frame to select the next event after it.
* Checking the history there doesn't seem to be any strong reason for
  this direction of search.
2017-08-15 17:36:28 +01:00
baldurk e39905a779 Flush texture overlay cache whenever texture ID or type hint changes
* Even if the overlay didn't change, a new texture ID requires a re-draw
  of the overlay.
2017-08-15 17:36:28 +01:00
baldurk f23adfbb41 find previous button should be left of the find next button 2017-08-15 17:36:28 +01:00
baldurk 3fc6dc8f7d Fetch SRV buffer format descriptor from declaration if not in SRV
* It's seemingly possible to bind a structured SRV with no format
  given, to a Buffer<float4> declaration in the shader. In this case
  we can't get the buffer stride/format type from the SRV itself so we
  have to go to what's declared in the reflection data itself.
2017-08-15 17:36:28 +01:00
baldurk 09341a4192 Don't use pixel shader details for debugging vertex shader 2017-08-15 17:36:27 +01:00
baldurk 316c714009 Only add an extra access chain index before looping, not each time
* This would cause an extra index every time for every array element
  leading to far too long access chains for arrayed outputs longer than
  1 element.
2017-08-15 17:36:27 +01:00
Cody Northrop 7144ba1652 android: Rename function that pushes layer to installed application 2017-08-15 09:36:20 -07:00
Cody Northrop d5cce3e194 android: Update layer pushing dialogues for readability 2017-08-15 09:36:20 -07:00
Cody Northrop b52d91224e utils: Update messageBoxChecked to use bool directly, no local copy 2017-08-15 09:36:20 -07:00
Cody Northrop fb8eef23d0 android: Improve workflow on devices with root
During initial scan of application, detect if root access is available
and track it.  If user later selects "Click here for ways to fix this".
display a new dialogue that offers to push the layer directly.

If pushing fails, fall back to production dialogue.

Also add a new persistent setting to enable automatic layer pushing.
2017-08-15 09:36:20 -07:00
Cody Northrop 6c40e4e651 android: Add function to push layer directly to application 2017-08-15 09:36:20 -07:00
Cody Northrop 5c99b4fe15 android: Add function to detect root access 2017-08-15 09:36:20 -07:00
Cody Northrop 58b0d29bf4 utils: Add new messageBox helper that includes checkBox 2017-08-15 09:36:20 -07:00
baldurk 0ae03ad1ae Fetch the qrenderdoc 3rdparty binaries before doing coverity build 2017-08-15 10:14:37 +01:00
baldurk c6b68408b2 Make qrenderdoc the default startup project by listing it first 2017-08-14 19:37:31 +01:00
baldurk f5b6b61b4b Fix 32-bit compilation, _finitef is not available on x86 2017-08-14 19:09:38 +01:00
baldurk 8af5d486b2 Change curl to Invoke-WebRequest as curl doesn't work on appveyor 2017-08-14 18:56:17 +01:00
baldurk b1bd718be0 Add information for people building on windows on where to get Qt etc 2017-08-14 18:09:59 +01:00
baldurk 46f07fa97f Until deps are committed to the repo, fetch them from web in appveyor 2017-08-14 18:09:59 +01:00
baldurk 2b01ee78f2 Remove C# renderdocui UI. Add qrenderdoc to visual studio solution 2017-08-14 18:09:59 +01:00
baldurk c812dfec07 Fix broken implementation of round_ne opcode rounding to nearest even 2017-08-14 18:09:58 +01:00
baldurk 9f034f9faf Don't try to break apart single float values that were merged 2017-08-14 18:09:58 +01:00
Janos Pantos ebe25d9472 Add missing aliases for supported GLES extension functions
* Add missing aliases for
** GL_EXT_robustness
** GL_EXT_separate_shader_objects
** GL_KHR_debug
* Fix a typo in the name of glDrawElementsInstancedBaseVertexOES
2017-08-14 10:01:09 -07:00
Janos Pantos 4e800c1e48 Remove an inappropriate flag from eglCreateContext 2017-08-14 10:01:09 -07:00
Janos Pantos 387ab74561 Don't use GetBaseFormat for compressed formats in GetTextureData 2017-08-14 10:01:09 -07:00
Janos Pantos 0d8e1feb16 Fix invalid operation errors for some glBind* calls
Names starting with reserved gl_ prefix are not accepted by
glBindAttribLocation and glBindFragDataLocation functions.
2017-08-14 10:01:09 -07:00
Janos Pantos 625b54e233 Add some missing GLES extension names and aliases
Extend supported GLES extension list and add missing aliases for the
following extensions:
* GL_EXT_texture_storage
* GL_EXT_texture_view
* GL_OES_draw_buffers_indexed
* GL_OES_texture_cube_map_array
* GL_OES_texture_view
2017-08-14 13:40:58 +01:00
Janos Pantos 3acb027001 Add support for GL_{OES|NV}_viewport_array extensions 2017-08-14 13:40:58 +01:00
Ryan Huffman 787045d3eb Update README.md to reflect OS support for Linux 2017-08-14 13:06:47 +01:00
baldurk e5e0b7af3b Bump version number for future v1.0 build 2017-08-04 17:35:48 +01:00
baldurk 53d0742453 Add README mention of v1.x branch 2017-08-04 17:35:48 +01:00
baldurk 4d2da84ca4 Reference an explicit tag release of renderdoc's swig fork
* The tag is signed, and there's a release on that github repo with
  signatures for the source tarball/zip files
2017-08-04 17:35:32 +01:00
baldurk 703c6ba07b Enable CI builds for v0.x and v1.x branches, and disable master 2017-08-04 16:50:23 +01:00
baldurk 53b10cbe37 Add empty document statements for rdctype::str and member functions 2017-08-04 14:55:22 +01:00
baldurk e63a91d182 Fix assigning NULL instead of VK_NULL_HANDLE to vulkan handle 2017-08-03 20:49:13 +01:00
baldurk ca88810df3 Fix NULL-terminating serialise of rdctype::str adding 0 into elems
* The +1 for internal NULL terminator must be done internally, otherwise
  we end up with "foobar" being a 7-character string of "foobar\0". If
  this is then re-serialised we add more and more null terminators.
2017-08-03 20:18:15 +01:00
baldurk c898fc6d99 Add defaults for TextureSave struct to fix JPEG saving 2017-08-03 19:10:42 +01:00
baldurk c74c3d36bc Improve ResourceId repr/str handling, and add an int() handling 2017-08-03 19:10:41 +01:00
baldurk 09ba0b46af Add typemap for QPair 2017-08-03 17:57:24 +01:00
baldurk ee67b85b58 When we hit an exception, pass the line number of the top-of-stack
* This allows us to update the current line highlight before stopping.
2017-08-03 17:57:24 +01:00
baldurk 87ef595cce For a block invoke to another thread, safe and restore
* In future we could handle async exceptions by storing the exception
  information in a std::function derived object (instead of the separate
  ExceptionHandling that lives on the stack) and query it out in a new
  WaitForInvoke function maybe. Right now we just print the exception
  to the output log and abort the callback.
2017-08-03 17:57:23 +01:00
baldurk 1c93ee9441 If a python error has occurred, don't try to do any work, just bail 2017-08-03 17:57:22 +01:00
baldurk f41f6a2b66 Fix race condition accessing UI stuff on async loading thread 2017-08-03 17:57:22 +01:00
baldurk 86a9d70bb7 Only remover disassembly toolbar when debugging, not when viewing shader 2017-08-03 17:57:21 +01:00
baldurk e7d092cdaf Check format/sample support for creating MSAA <-> Array renderpasses 2017-08-03 17:57:16 +01:00
baldurk 5c934f564e Don't create the AMD counters while capturing 2017-08-02 21:05:04 +01:00
baldurk 0d1c9c39fe Remove the D3D12_RESOURCE_FLAG_DENY_SHADER_RESOURCE flag on replay
* This flag is purely an optimisation, it's never invalid to remove it.
2017-08-02 21:04:51 +01:00
baldurk ba67c3214b Don't name a resource before checking if it created successfully 2017-08-02 21:04:22 +01:00
baldurk 1708bee968 Use _exit instead of exit if exec() fails after forking
* Otherwise if we call exit() it can ruin the parent process by calling
  atexit(), signal handlers, and other things.
2017-08-02 15:30:59 +01:00