(label *api.Label)
| 88 | } |
| 89 | |
| 90 | func (dm *debugMarkerStack) push(label *api.Label) { |
| 91 | dm.labels = append(dm.labels, label) |
| 92 | if label.GetCommandName() == VK_CMD_DEBUG_MARKER_BEGIN { |
| 93 | dm.positionsOfDebugMarkersBegin = append(dm.positionsOfDebugMarkersBegin, len(dm.labels)-1) |
| 94 | } |
| 95 | } |
| 96 | |
| 97 | // addDebugMarker adds a new debug marker from the last debug_marker_begin Label to the current Label. |
| 98 | func (dm *debugMarkerStack) addDebugMarker() { |
no test coverage detected