(command api.Cmd)
| 155 | } |
| 156 | |
| 157 | func 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. |
| 168 | func (builder *labelForVulkanCommands) GetCommandLabel(command api.Cmd, cmdId uint64) *api.Label { |
no test coverage detected