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

Function getCommandBufferId

gapis/api/vulkan/graph_visualization.go:157–165  ·  view source on GitHub ↗
(command api.Cmd)

Source from the content-addressed store, hash-verified

155}
156
157func getCommandBufferId(command api.Cmd) (VkCommandBuffer, bool) {
158 parameters := command.CmdParams()
159 for _, parameter := range parameters {
160 if parameter.Name == COMMAND_BUFFER {
161 return parameter.Get().(VkCommandBuffer), true
162 }
163 }
164 return 0, false
165}
166
167// GetCommandLabel returns the Label for the Vulkan command.
168func (builder *labelForVulkanCommands) GetCommandLabel(command api.Cmd, cmdId uint64) *api.Label {

Callers 1

GetCommandLabelMethod · 0.85

Calls 2

CmdParamsMethod · 0.65
GetMethod · 0.65

Tested by

no test coverage detected