Commit Graph

291 Commits

Author SHA1 Message Date
baldurk 4609fa710b Update RenderDoc application-facing API to a stable/mature version.
* This API is now intended to be forward and backward compatible as much
  as possible. Meaning applications should be able to run without
  changing on many RenderDoc versions after the one they are built
  against without breaking.
* All function pointers are fetched at once in one versioned GetAPI()
  function, to save on constant GetProcAddress/dlsym'ing.
* Otherwise, it's largely similar to the previous API.
2015-08-23 15:12:05 +02:00
baldurk 6a2344d9d8 Show correct inputs/outputs for copy and dispatch calls. Refs #147
* Next step is to display VS and other stage inputs on the input panel.
* Also need to tidy up the fetching of highest mip/array slice etc to
  use the same codepath.
2015-08-23 13:20:23 +02:00
baldurk d58d5b76b3 Use shader variable name for CS UAV slots, if available 2015-08-23 13:15:09 +02:00
baldurk 9333228fc5 Highlight empty viewports that are still enabled in the UI. Refs #144 2015-08-23 11:49:00 +02:00
baldurk f6b4b2fe22 Change python embedding to get standard library from zip, not a dll
* This seems way more reliable and smaller than shipping a compiled .dll
* For some reason I didn't find this method before (I only knew that
  you could ship the loose files which wasn't a good solution).
2015-08-23 11:17:46 +02:00
baldurk 8ca621a649 Handle invalid characters in shader filename paths everywhere 2015-07-25 10:33:52 +02:00
baldurk 2967a8a5ce Catch overflow exception handling bounding box 2015-07-24 00:16:45 +02:00
baldurk 7c6790d1d7 Check that there are enough children before indexing into nodes 2015-07-24 00:04:52 +02:00
baldurk 8df2e86805 When selecting a bookmark, skip over labels 2015-07-19 13:47:41 +02:00
baldurk b593f7446e Fix picking up global control shortcuts incorrectly 2015-07-19 13:46:24 +02:00
baldurk 49f5f4cde4 Add Shift-F5 to run backwards in shader debugging 2015-07-19 00:20:03 +02:00
baldurk 8213281921 Fix up fetching layer/mip for FBOs on replay 2015-07-18 18:27:34 +02:00
baldurk 49e529d990 Fix removing empty drawcall markers even if the option is off 2015-07-16 23:43:35 +02:00
baldurk f05015ba15 Make texture viewer less twitchy by keeping status label length similar 2015-07-16 23:16:39 +02:00
baldurk 5678ea7b29 Fix pixel history getting confused if some (not all) fragments discard 2015-07-16 22:17:06 +02:00
baldurk 8a402f1a28 Fix textboxes that accidentally got made too wide 2015-07-15 22:20:17 +02:00
baldurk 2d8132943c Add a right click context menu to pixel history, to launch debug/history 2015-07-15 21:37:59 +02:00
baldurk 43bc6f836f Tidy up which controls can be used at which stage (tess on or off) 2015-07-15 21:37:59 +02:00
baldurk cd2db46628 Try to anchor top-left pixel on texture viewer when switching 2015-07-15 21:37:58 +02:00
baldurk e0be3e66ec Fix buffer bound inputs showing up as "Unbound"/not rendering thumbnail 2015-07-15 21:37:56 +02:00
baldurk 26cf1f8541 Make Ctrl-# shortcuts for EventBrowser bookmarks work anywhere 2015-07-15 21:37:56 +02:00
baldurk 4a3894a187 Add escape to cancel range min/max change, commit change on focus loss 2015-07-15 21:37:54 +02:00
baldurk b8c340b1fa Allow arrow-key nudging when the pixel context panel is focussed 2015-07-14 22:09:27 +02:00
baldurk e40ab9261a Handle edge-case where input layout bytecode doesn't use every element 2015-07-14 21:53:36 +02:00
baldurk 87d748f4fb If we fail to debug a pixel, open the pixel history instead 2015-07-11 00:43:16 +02:00
baldurk 4b0c1cbde8 Move the source data for tips online, a webpage will generate code 2015-07-10 23:31:52 +02:00
baldurk ddd432f678 Add warning if dispatch has 0 dimension, and bounds-check on debugging 2015-07-09 20:42:34 +02:00
baldurk 44adfc7b82 Add a 'tips' dialog. Still needs to be mostly filled out with tips 2015-07-08 00:18:58 +02:00
baldurk 8e37133d69 Add event bookmarks to the event browser 2015-07-07 23:32:48 +02:00
baldurk c915d44af7 Clamp the selected sample to valid range 2015-07-07 19:40:07 +02:00
baldurk de25800794 Don't declare unused exceptions (warning fix) 2015-07-07 19:20:41 +02:00
baldurk f6527107dc Add try {} catch to handle exceptions thrown from IO operations 2015-07-07 19:06:31 +02:00
baldurk 5232ee7626 Don't allow direct writes to RangeMax/RangeMin that can break things
* The old code in m_RangeMax/m_RangeMin setters wasn't doing proper
  epsilon enforcing so min=max could end up happening. It's easier to
  set both at once (this is all we care about anyway) so that it does
  properly make the min and max distinguishable.
2015-07-07 18:30:14 +02:00
baldurk 80c76fab5f Completely speculative fix for crash in shader viewer tooltip
* There were two bug reports of NullReferenceException on line:

  hoverWin = m_HoverNode.OwnerView;
* Which doesn't make sense since m_HoverNode must be non-null to go by
  the lines above, and all the callbacks should run on the UI thread so
  it can't be a race.
* Caching locally and checking for OwnerView/ListView being valid might
  fix the crash. Hopefully!
2015-07-07 18:05:17 +02:00
baldurk e79c98c85a Fix crash if tooltip is still open when watch variable is deleted 2015-07-07 17:38:52 +02:00
baldurk 7f240b4d14 Update the register tooltip as you step, if it's open 2015-07-07 16:48:02 +02:00
baldurk 4c988e9e3a Better arcball controls in the mesh viewer
* Tweaked flycam a bit too, but not much.
* Refactored the API/C# side camera classes to avoid exposing a ton of
  stuff just to do relative rotations in the arcball via quaternions.
2015-07-07 15:38:00 +02:00
baldurk 4444da212d Handle bounding boxes of 1 and 2 component types properly 2015-07-07 10:17:58 +02:00
baldurk dd9aff3890 Implement right click to pick vertices in the mesh viewer. Refs #139 2015-07-07 10:02:36 +02:00
baldurk edda31248f Render bounding box around mesh, centre & scale arcball on bbox
* The arcball lookat position can also be dragged with alt-click or
  middle click.
* Also supports other elements as position not just magically-selected
  "POSITION" element.
2015-07-06 19:58:45 +02:00
baldurk b23db183b6 Bugfix for raw buffer data not being properly filled out in mesh view 2015-07-06 19:46:59 +02:00
baldurk 36f12d1ef2 Add export to CSV option in cbuffer previewer. Refs #140 2015-07-06 18:16:20 +02:00
baldurk 6afbe8c92b Add exception handling on Clipboard.SetText, fall back to SetDataObject 2015-07-06 18:15:49 +02:00
baldurk 7277d5d76e Support pixel history over a specific mip/array slice only 2015-07-06 17:18:19 +02:00
baldurk 1134988665 Fix shader debugging when rendering to mips of a texture 2015-07-06 15:53:02 +02:00
baldurk 95bda3d588 Tweak slice/mip auto-selection for render targets rendering to mips
* Should mean the 'target' of the render target will be selected by
  default now when clicking to an event, without annoyingly switching
  away from what you were looking at.
2015-07-06 15:49:22 +02:00
baldurk cffad15781 Support 64 UAVs on OM/CS stages - a D3D11.1 feature
* Everything should still work on regular 11.0 and log opening backwards
  compatibility is maintained.
2015-07-06 16:17:58 +02:00
baldurk 1ff7d96b49 If auto-fit is checked (right click), fit on texture selection change 2015-06-30 20:30:30 +02:00
baldurk ac08dded1a Add structure prefixes to renamed cbuffer registers 2015-06-26 19:19:02 +02:00
baldurk 9692ef0cf3 Identify arrays of cbuffer registers properly to rename them 2015-06-26 19:18:44 +02:00