Add drawcall flags for clearcolour/cleardepth

This commit is contained in:
baldurk
2014-07-13 18:55:04 +01:00
parent 85a4a8cccd
commit 25c4771589
3 changed files with 17 additions and 13 deletions
@@ -5187,7 +5187,7 @@ bool WrappedID3D11DeviceContext::Serialise_ClearRenderTargetView(ID3D11RenderTar
FetchDrawcall draw;
draw.name = widen(name);
draw.flags |= eDraw_Clear;
draw.flags |= eDraw_Clear|eDraw_ClearColour;
draw.debugMessages = debugMessages;
@@ -5541,7 +5541,7 @@ bool WrappedID3D11DeviceContext::Serialise_ClearDepthStencilView(ID3D11DepthSten
FetchDrawcall draw;
draw.name = widen(name);
draw.flags |= eDraw_Clear;
draw.flags |= eDraw_Clear|eDraw_ClearDepth;
draw.debugMessages = debugMessages;
+13 -11
View File
@@ -293,19 +293,21 @@ enum ResourceUsage
enum DrawcallFlags
{
// types
eDraw_Clear = 0x01,
eDraw_Drawcall = 0x02,
eDraw_Dispatch = 0x04,
eDraw_CmdList = 0x08,
eDraw_SetMarker = 0x10,
eDraw_PushMarker = 0x20,
eDraw_Present = 0x40,
eDraw_Clear = 0x01,
eDraw_Drawcall = 0x02,
eDraw_Dispatch = 0x04,
eDraw_CmdList = 0x08,
eDraw_SetMarker = 0x10,
eDraw_PushMarker = 0x20,
eDraw_Present = 0x40,
// flags
eDraw_UseIBuffer = 0x100,
eDraw_Instanced = 0x200,
eDraw_Auto = 0x400,
eDraw_Indirect = 0x800,
eDraw_UseIBuffer = 0x0100,
eDraw_Instanced = 0x0200,
eDraw_Auto = 0x0400,
eDraw_Indirect = 0x0800,
eDraw_ClearColour = 0x1000,
eDraw_ClearDepth = 0x2000,
};
enum SolidShadeMode
+2
View File
@@ -311,6 +311,8 @@ namespace renderdoc
Instanced = 0x200,
Auto = 0x400,
Indirect = 0x800,
ClearColour = 0x1000,
ClearDepth = 0x2000,
};
public enum SolidShadeMode