Add overlays to clear before current draw/pass. Refs #164

* Depth is not cleared, only colour buffers.
* This uses the same definition of pass as the quad overdraw overlay,
  which isn't quite the same as the auto-grouping passes (which allow
  for varying colour binds being grouped together). It only counts up
  to the last draw where the outputs were different.
This commit is contained in:
baldurk
2015-10-25 15:49:16 +01:00
parent 761358c899
commit 57ba6e0806
7 changed files with 101 additions and 12 deletions
+2
View File
@@ -560,6 +560,8 @@
"Viewport/Scissor Region",
"NaN/INF/-ve Display",
"Clipping",
"Clear Before Pass",
"Clear Before Draw",
"Quad Overdraw (Pass)",
"Quad Overdraw (Draw)"});
this.overlay.Name = "overlay";