baldurk
4f06161fb9
Update template custom shader to include UV, add new globals. Refs #304
2016-07-26 15:18:45 +02:00
baldurk
889e47c166
Handle column major storage of matrices when friendly-naming registers
2016-07-22 19:19:42 +02:00
baldurk
81c8f1f77e
Prefix GL uniforms with 'uniform'. Refs #302
2016-07-19 19:19:57 +02:00
baldurk
3e171f7f79
Remove top-most windows, we shouldn't have any (just above-rest-of)
2016-07-04 10:59:11 +02:00
baldurk
745df431db
Remove unused debug trace line
2016-06-23 11:19:43 +02:00
baldurk
6403b5a6d6
Use full pathnames for files, so we don't have duplicate keys in dict
2016-06-21 13:35:21 +02:00
baldurk
8b64868025
For GLSL, insert text after #version statement.
2016-06-09 10:48:50 -07:00
baldurk
22d58cf739
Implement custom display shaders for vulkan
2016-06-09 10:48:44 -07:00
baldurk
ebeaa935af
Implement copy-paste handlers for shader debugging reg windows
2016-05-09 22:22:37 +02:00
baldurk
945f423cde
Don't let the user undo the initial text added to a Scintilla editor
2016-05-09 22:00:31 +02:00
baldurk
33d8585bdb
Change default ID name from {x} to _x_.
...
* I think eyes are just more use to parsing legal identifier characters
(like _s) rather than {}s syntax. It feels like it's probably more
readable overall, although there's more of a risk of it blending into
the names in the original code
2016-04-22 17:36:55 +02:00
baldurk
70b99a4412
Remove antiquated 'multiple frames in one capture' support.
...
* Cleans up the code a bunch, this support is unlikely to ever return
and if it does it will need a rethink anyway.
2016-04-13 00:28:09 +02:00
baldurk
254321fcd1
Quick hacks to show SPIR-V disassembly with hlsl highlighting
2016-02-07 18:51:23 +01:00
baldurk
2e0ffa7813
Batch update copyright years everywhere
2016-02-07 18:50:45 +01:00
baldurk
03a2497c6b
Don't display semantic index if it's not needed
2016-02-07 18:47:09 +01:00
baldurk
6051f0c500
Split 'Resources' shader array into readonly/readwrite arrays
...
* This is preparation for a following commit, might not work on its own
(mostly untested - just compiling).
2016-02-07 18:46:39 +01:00
baldurk
c71191906b
Don't do any shader viewer work if the log is closed
2016-02-07 18:45:25 +01:00
baldurk
0a0e948e40
Add shader word highlighting for SPIR-V
2016-02-07 18:42:06 +01:00
baldurk
efd8bf1baf
Fix reported crash - close any find dialogs when shader window closes
2015-12-15 17:26:28 +01:00
baldurk
e9d7e51159
Handle shader reflection being NULL without crashing. Refs #168
...
* Can happen in edge cases where the separable program fails to create.
2015-11-09 22:52:17 +01:00
baldurk
11286b0f71
Make sure find results textbox is marked read-only
2015-10-07 20:00:45 +02:00
baldurk
a98e7eb9d6
Clear search results for each new search
2015-10-07 20:00:33 +02:00
baldurk
239abd08dd
Remove all newlines from find-in-files results
2015-10-07 19:56:52 +02:00
baldurk
7fdadc52f7
Fix register/variable highlighting sometimes getting busted
2015-09-23 13:30:12 +02:00
baldurk
51f8e949a1
Add back some code that was deleted by accident
2015-09-23 13:29:54 +02:00
baldurk
e58c7aff13
Add extra bounds check just in case trace has no steps.
2015-09-16 01:18:14 +02:00
baldurk
95be5454f9
Add a "Find in all files" dialog on ctrl-shift-f to shader viewer
2015-08-29 19:26:50 +02:00
baldurk
9f43f12135
Add a list of all files in shader viewer when there are more than 3
2015-08-29 17:18:28 +02:00
baldurk
8ca621a649
Handle invalid characters in shader filename paths everywhere
2015-07-25 10:33:52 +02:00
baldurk
49f5f4cde4
Add Shift-F5 to run backwards in shader debugging
2015-07-19 00:20:03 +02:00
baldurk
f6527107dc
Add try {} catch to handle exceptions thrown from IO operations
2015-07-07 19:06:31 +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
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
baldurk
f5ddd7d2c8
Highlight register rows when clicking to highlight them in disassembly
...
* Hopefully will make it easier to track the rows you care about.
2015-06-26 19:06:59 +02:00
baldurk
f769c9cd72
Make debug keys (F10, F5 etc) work while register/watch windows focussed
2015-06-26 19:06:23 +02:00
baldurk
5a03794a5a
Consistently treat file containing entry point as the 'main' file
...
* This fixes shader editing when the entry point file wasn't the first
in the list.
* Might need better detection of the main file than just searching for
the entry point substring - could produce false positives in other
files in a comment or #define or something similar?
2015-06-26 01:13:48 +02:00
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