Commit Graph

27 Commits

Author SHA1 Message Date
baldurk 1d05cf5e21 Implement Ctrl-F3/Ctrl-Shift-F3 to search for current word/selection 2015-06-04 21:46:35 +02:00
baldurk 03a3bafaf9 Make #include filename searching case insensitive 2015-05-22 21:48:27 +02:00
baldurk 95f4011bcb Add option to favour monospaced font for all data. Refs #118
* The option will enable monospaced fonts for all data displays, like
  the list of events, API calls, etc as well as pipeline displays, entry
  of filename/directory in the capture window and many other places.
  Pure UI labelling etc mostly still stays as a serif font.
* A few sizes of controls were tweaked (like headers in the pipeline
  windows) so that they didn't just barely overflow with the larger
  font.
* While looking at this, it became obvious that buffer viewers and
  constant bufferviewers should always display in monospaced regardless,
  so that has been changed.
2015-04-09 21:49:03 +01:00
baldurk d8bc653edb Fix infinite loop toggling breakpoint
* Also we don't set the custom assembly context menu when there is no
  trace to debug.
2015-04-06 15:16:53 +01:00
baldurk 3d6c992465 Add a custom right-click menu for disassembly scintilla. Refs #128
* This lets us add custom right-click options like run to cursor, toggle
  breakpoint and toggling between integer and float register display.
2015-04-06 15:10:30 +01:00
baldurk c049c37b86 Fix run to instruction checking instruction number vs. trace count
* The trace count could be less than the number of instructions if flow
  control causes some instructions to be skipped (and higher if some
  were repeated!). There's no need to validate this value anyway, RunTo
  will bail when it hits the end of the trace if the number is too high.
2015-04-01 23:43:08 +01:00
baldurk 05dc259656 Make sure popups don't appear outside the controls. Refs #128 2015-04-01 23:42:49 +01:00
baldurk c31cf39236 Include hex in tooltip, and show for register windows. Refs #128 2015-03-29 21:06:26 +01:00
baldurk 7e1e87af1f Fix crash if shader debug comes back with empty trace array
* The current step wasn't being clamped correctly, so it would be set
  to -1 then used to index.
2015-03-12 00:43:13 +00:00
baldurk 54ad900f53 Set parameters for custom shaders, and update template & snippet buttons
* RENDERDOC_TextureType has different value meanings for the different
  types on GL - need to update the docs to reflect this.
2015-02-09 22:38:44 +00:00
baldurk 72cfee5c0f Add GLSL syntax highlighting 2015-02-09 18:14:20 +00:00
baldurk 30516c31c6 Make sure we don't try to debug when no trace is available 2015-01-22 15:18:10 +00:00
baldurk de6d93c47f Improve GL shader reflection to include Atomic bufs, SSBOs and images 2015-01-19 02:04:08 +00:00
baldurk caa5e06644 Fix for crash report - check that event label is non-null 2014-11-22 09:49:36 +00:00
baldurk 16a489c7a5 Handle case where input signature has been stripped from bytecode
* This was found on a flash stage3d sample, where if the input signature
  is stripped, some signature elements can be completely missing, causing
  a mismatch when trying to obtain the inputs for pixel debugging.
* In this case, we try to fill in from the previous shader, and if that
  fails just inserting a dummy element and hoping for the best.
2014-10-15 19:51:32 +01:00
baldurk f198e71806 [Refs #87: Static Analysis] Remove unused variables 2014-10-05 19:01:27 +01:00
baldurk e749f42876 [Refs #87: Static Analysis] string compare as uppercase or by length 2014-10-05 19:01:25 +01:00
baldurk 672bd14af9 Display a tooltip over registers with their current value 2014-09-25 09:46:17 +01:00
baldurk 2966bfeb79 Update snippet-adding code for multisampled types 2014-09-24 13:31:56 +01:00
baldurk 35884170eb In D3D11 support setting friendly names on shaders 2014-09-10 18:25:29 +01:00
baldurk 543165cece Give the shader viewer a better disambiguating title when debugging 2014-09-06 11:45:51 +01:00
baldurk 04335a7179 Highlight groupshared memory registers on click 2014-09-03 23:12:16 +01:00
baldurk ebb5894010 If semantic is empty and we have variable name, use that instead 2014-08-12 16:47:31 +01:00
baldurk b695ba2070 Pass indexable temps through and display in UI. Closes #73
* The storage is rather wasteful (once per state), but the temp registers
  are mutable so could be changed from state to state.
2014-08-03 14:28:27 +01:00
Arne Schober 5d73a581a3 Added bit visualization to the Debugger 2014-06-28 16:16:31 +02:00
baldurk 851f280725 Expand shader viewer for really long source. Closes #57 2014-05-13 21:28:26 +01:00
baldurk c38affcded Initial commit of existing code.
* All renderdoc code up to this point was written by me, history is available by request
2014-05-02 08:33:01 +01:00