MCPcopy Create free account
hub / github.com/google/gapid / push

Method push

gapis/api/vulkan/graph_visualization.go:90–95  ·  view source on GitHub ↗
(label *api.Label)

Source from the content-addressed store, hash-verified

88}
89
90func (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.
98func (dm *debugMarkerStack) addDebugMarker() {

Callers 1

checkDebugMarkersMethod · 0.95

Calls 1

GetCommandNameMethod · 0.80

Tested by

no test coverage detected