mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 13:20:54 +00:00
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:
@@ -130,12 +130,14 @@ namespace renderdoc
|
||||
None = 0,
|
||||
Drawcall,
|
||||
Wireframe,
|
||||
DepthBoth,
|
||||
StencilBoth,
|
||||
Depth,
|
||||
Stencil,
|
||||
BackfaceCull,
|
||||
ViewportScissor,
|
||||
NaN,
|
||||
Clipping,
|
||||
ClearBeforePass,
|
||||
ClearBeforeDraw,
|
||||
QuadOverdrawPass,
|
||||
QuadOverdrawDraw,
|
||||
};
|
||||
|
||||
+2
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user