MCPcopy Create free account
hub / github.com/carbonengine/trinity / DredBreadcrumbOpName

Function DredBreadcrumbOpName

trinity/TriDevice12.cpp:92–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90
91}
92constexpr char const* DredBreadcrumbOpName( D3D12_AUTO_BREADCRUMB_OP op )
93{
94 switch( op )
95 {
96 case D3D12_AUTO_BREADCRUMB_OP_SETMARKER:
97 return "Set marker";
98 case D3D12_AUTO_BREADCRUMB_OP_BEGINEVENT:
99 return "Begin event";
100 case D3D12_AUTO_BREADCRUMB_OP_ENDEVENT:
101 return "End event";
102 case D3D12_AUTO_BREADCRUMB_OP_DRAWINSTANCED:
103 return "Draw instanced";
104 case D3D12_AUTO_BREADCRUMB_OP_DRAWINDEXEDINSTANCED:
105 return "Draw indexed instanced";
106 case D3D12_AUTO_BREADCRUMB_OP_EXECUTEINDIRECT:
107 return "Execute indirect";
108 case D3D12_AUTO_BREADCRUMB_OP_DISPATCH:
109 return "Dispatch";
110 case D3D12_AUTO_BREADCRUMB_OP_COPYBUFFERREGION:
111 return "Copy buffer region";
112 case D3D12_AUTO_BREADCRUMB_OP_COPYTEXTUREREGION:
113 return "Copy texture region";
114 case D3D12_AUTO_BREADCRUMB_OP_COPYRESOURCE:
115 return "Copy resource";
116 case D3D12_AUTO_BREADCRUMB_OP_COPYTILES:
117 return "Copy tiles";
118 case D3D12_AUTO_BREADCRUMB_OP_RESOLVESUBRESOURCE:
119 return "Resolve subresource";
120 case D3D12_AUTO_BREADCRUMB_OP_CLEARRENDERTARGETVIEW:
121 return "Clear render target view";
122 case D3D12_AUTO_BREADCRUMB_OP_CLEARUNORDEREDACCESSVIEW:
123 return "Clear unordered access view";
124 case D3D12_AUTO_BREADCRUMB_OP_CLEARDEPTHSTENCILVIEW:
125 return "Clear depth stencil view";
126 case D3D12_AUTO_BREADCRUMB_OP_RESOURCEBARRIER:
127 return "Resource barrier";
128 case D3D12_AUTO_BREADCRUMB_OP_EXECUTEBUNDLE:
129 return "Execute bundle";
130 case D3D12_AUTO_BREADCRUMB_OP_PRESENT:
131 return "Present";
132 case D3D12_AUTO_BREADCRUMB_OP_RESOLVEQUERYDATA:
133 return "Resolve query data";
134 case D3D12_AUTO_BREADCRUMB_OP_BEGINSUBMISSION:
135 return "Begin submission";
136 case D3D12_AUTO_BREADCRUMB_OP_ENDSUBMISSION:
137 return "End submission";
138 case D3D12_AUTO_BREADCRUMB_OP_DECODEFRAME:
139 return "Decode frame";
140 case D3D12_AUTO_BREADCRUMB_OP_PROCESSFRAMES:
141 return "Process frames";
142 case D3D12_AUTO_BREADCRUMB_OP_ATOMICCOPYBUFFERUINT:
143 return "Atomic copy buffer uint";
144 case D3D12_AUTO_BREADCRUMB_OP_ATOMICCOPYBUFFERUINT64:
145 return "Atomic copy buffer uint64";
146 case D3D12_AUTO_BREADCRUMB_OP_RESOLVESUBRESOURCEREGION:
147 return "Resolve subresource region";
148 case D3D12_AUTO_BREADCRUMB_OP_WRITEBUFFERIMMEDIATE:
149 return "Write buffer immediate";

Callers 1

HandleRenderTickMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected