Commit Graph

28 Commits

Author SHA1 Message Date
baldurk 982273bbd3 Detect and show sample mask failures in pixel history. Refs #296 2016-07-11 12:32:49 +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 2e0ffa7813 Batch update copyright years everywhere 2016-02-07 18:50:45 +01:00
baldurk 8b7a025853 Refactor BGRA formats to not be special (so allow any BGRA format)
* Also add ASTC and D16S8 types while in the neighbourhood
2015-11-29 22:05:26 +01:00
baldurk c7cfdcc689 Add basic support for displaying/picking S8 textures. Refs #165 2015-10-25 14:09:43 +01:00
baldurk 5678ea7b29 Fix pixel history getting confused if some (not all) fragments discard 2015-07-16 22:17:06 +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 af97e30376 Linux compile fix, and include copies/generatemips in pixel history
* We treat them the same as UAV writes where we just list them in case
  the pixel is modified without checking.
2015-03-12 10:25:32 +00:00
baldurk 1597fa3f32 If no history is returned, empty out the history event list
* Otherwise it stays as "Loading..." forever
2015-02-26 15:13:21 +00:00
baldurk 67f5724e53 Don't list primitive if it's not available (e.g. top level EID entry) 2015-01-28 12:34:28 +00:00
baldurk 499e3b7c9f pass through sample index to pixel history 2014-09-26 22:00:58 +01:00
baldurk 0261095de6 Add selection of primitive to pixel debug from pixel history
* This means when multiple fragments are writing to a pixel you can choose
  precisely the one you want to debug, rather than the debugging always
  running the approximately last fragment to pass
2014-09-25 10:49:01 +01:00
baldurk 68157814ad Mark pixel history events as UAV writes and display before/after 2014-09-06 13:28:58 +01:00
baldurk 543165cece Give the shader viewer a better disambiguating title when debugging 2014-09-06 11:45:51 +01:00
baldurk 497558f338 Display shader output as ints if that's the target format type 2014-08-24 12:38:44 +01:00
baldurk 461588ae1e Always SRGB correct colour for display 2014-08-24 02:02:54 +01:00
baldurk 24ed434bcd Change up pixel history UI to show individual fragments 2014-08-24 01:00:28 +01:00
baldurk 15f98e3749 Show pixel history events in the timeline bar 2014-08-03 16:25:14 +01:00
baldurk fb6b4a98b0 Show the pixel history tab early, fill it in with data when ready 2014-08-03 16:04:34 +01:00
baldurk 6fa46b359e Implement right click options to debug or hide failed events 2014-08-03 15:54:40 +01:00
baldurk b230be570f Inherit channel visibility from viewer, display inherited state
* A label is shown at the top of the pixel history showing the range
  display and visible channels. The channel visibility behaves the same as
  in the texture viewer - 2 or more and the other channels display as black
  and 1 channel displays grayscale.
2014-08-03 15:32:52 +01:00
baldurk aeb6ae3bcb Explicitly list stencil as hex with 0xXX form. 2014-08-03 15:04:24 +01:00
baldurk 07b41426a2 Add RGBA value prefixes, only print valid elements, preview depth 2014-07-18 00:07:18 +01:00
baldurk 9075812226 Pass stencil as int32_t so depth or stencil of -1 indicates no data 2014-07-18 00:03:04 +01:00
baldurk e462ab15b3 Collect depth and stencil values before/after.
* This code is just to test if the method works, it's super ugly and needs
  to be tidied up (as does this whole function!)
2014-07-17 21:13:33 +01:00
baldurk 7f6e960d85 Bake in range-select min and max when opening a pixel history view
* I'm not sure if this 'hidden' latched UI state is good or bad, but it
  means the colours are visible if you've adjusted the range way outside
  of 0-1.
2014-07-15 12:06:25 +01:00
baldurk 844f080300 Change priority of node background colours, so select colour works 2014-07-13 18:58:47 +01:00
baldurk 3bb382d9cf Further progress on pixel history view
* Added simple UI
* Don't apply SRGB curve to alpha data
* Account for clear calls not returning occlusion query results, and for
  depth/colour clears.
2014-07-13 18:58:45 +01:00