5969 Commits

Author SHA1 Message Date
Ryan Huffman 2d8b2cf818 Update README.md to reflect OS support for Linux v0.91 2017-08-14 05:06:25 -07:00
baldurk 965d5bbcfb Mark v0.91 build 2017-08-14 12:57:14 +01:00
baldurk a658a1a38b Add a note about the v0.x branch to the top of CONTRIBUTING.md 2017-08-14 11:36:36 +01:00
baldurk 643edbe8a7 Fix cases where find results or file list were breaking
* The change to make the disassembly view not directly a child of a
  DockContent but instead a table layout (to add the disassembly type
  drop-down) were causing some casts of 'thing.Parent' to fail.
2017-08-14 11:18:11 +01:00
baldurk 11a47bfbe4 Don't set-up table layout with disasm type selector in debug case
* Otherwise it hangs around and breaks the layout when we don't want it
  to be visible at all
2017-08-14 10:54:19 +01:00
baldurk b7795f562d Search up the parent heirarchy for a DockContent
* Fixes a crash debugging a shader that has embedded source available
  (i.e. compiled with D3DCOMPILE_DEBUG).
2017-08-06 09:58:30 +01:00
baldurk c8dd41cdef Mark v0.90 build v0.90 2017-08-04 17:35:42 +01:00
baldurk 4b64521ff0 Add README mention of v0.x branch 2017-08-04 17:35:41 +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
baldurk 9878223839 Don't allow displaying non-debuggable disassembly forms when debugging 2017-08-02 15:30:58 +01:00
baldurk 9379633621 Ensure that dxbc file is disassembled before running debugging 2017-08-02 15:30:58 +01:00
baldurk eda02c2d11 Print the right platform-dependent amdspv executable name 2017-08-02 15:30:57 +01:00
baldurk f96874e5d1 Handle more error cases for VirtualContext 2017-08-02 15:30:56 +01:00
baldurk 42add67bf8 Don't skip modified shaders when tex viewer is just in another tab
* We only want to skip these events if the texture viewer has actually
  been closed and destroyed.
2017-08-02 15:30:56 +01:00
baldurk f5542ead7f Don't fetch possibly modified state when getting bound render targets 2017-08-02 15:30:55 +01:00
baldurk efbae91c5f Remove duplicated GCN (Capeverde) entry in device list 2017-08-02 15:30:54 +01:00
baldurk 4a1cd892f6 If SPIR-V compilation fails in glslang, store the error msg in "disasm" 2017-08-01 11:04:35 +01:00
baldurk 26c89b4a33 VirtualContext.exe doesn't return non-0 error code if context fails 2017-08-01 11:04:11 +01:00
baldurk 52c481bae2 Make HRESULT stringification prettier 2017-07-31 14:10:18 +01:00
baldurk 7b99bc6c6a Heap alloc enough space for uniforms, instead of only copying one elem
* Uniform arrays would be truncated after the largest single element
  size (a 4-wide double vector).
2017-07-31 10:41:51 +01:00
baldurk fb126d0f7e Initialise AMD extension pointer to NULL. Refs #708
* This means we can SAFE_RELEASE it safely.
2017-07-31 10:22:53 +01:00
baldurk 608cd152d9 OS X compile fix 2017-07-28 20:31:52 +01:00
baldurk feb99ca6a4 Compile fix, cast to QRectF first then adjust 2017-07-28 20:01:41 +01:00
baldurk 0c8ca76c9e Use parallel builds on travis 2017-07-28 19:06:47 +01:00
baldurk 5b3fd0a2f9 Add handling for tab bars and tab widgets 2017-07-28 19:06:47 +01:00
baldurk 1bbe9f5409 Update toolwindowmanager to 62adf4b 2017-07-28 19:06:47 +01:00
baldurk d57cc1b188 Add more consistency to docking panels and widgets
* Dock panels shouldn't have any frame border or anything like that.
* They should have an external margin of 3 pixels at their border,
  but then no further margins on the layouts (like sub-controls for
  the pipeline state views.
* Toolbars should be Raised & Panel frames. Later we'll replace them
  with actual QToolBars to better customise the painting.
2017-07-28 19:06:46 +01:00
baldurk 541aa23a93 Add menu rendering (both menu bars/menus and popup menus) 2017-07-28 19:06:46 +01:00
baldurk 89945f711d Switch to SVG topology diagrams
* We need to custom paint the SVG at the right devicepixelratio because
  Qt seems to be busted at scaling up - nothing I can see causes the
  SVG to be rendered at higher than it's default resolution, so you end
  up with plain bilinear upscale.
* Since we're doing custom palette swap anyway, it's not much harm to
  just render ourselves, as we already basically had a dependency on
  QtSvg - just need to add the include files to the dependencies.
2017-07-28 19:06:46 +01:00
baldurk 9434b622a1 Make sure that pan remains unchanged when setting scrollbar range 2017-07-28 19:06:46 +01:00
baldurk 58d6e2540d Only highlight enabled toolbuttons on hover, not disabled ones 2017-07-28 19:06:46 +01:00
baldurk c19b4fb0a3 Add some basic style hints for menus and message boxes 2017-07-28 19:06:46 +01:00
baldurk 4591457ad7 Set up custom splitters, for now just empty rects.
* May need to revisit this in future depending on what outlining we have
  for individual docking widgets
2017-07-28 19:06:45 +01:00