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

Function rebuildVkCmdBeginQuery

gapis/api/vulkan/command_buffer_rebuilder.go:395–409  ·  view source on GitHub ↗
(
	ctx context.Context,
	cb CommandBuilder,
	commandBuffer VkCommandBuffer,
	r *api.GlobalState,
	s *api.GlobalState,
	d VkCmdBeginQueryArgsʳ)

Source from the content-addressed store, hash-verified

393}
394
395func rebuildVkCmdBeginQuery(
396 ctx context.Context,
397 cb CommandBuilder,
398 commandBuffer VkCommandBuffer,
399 r *api.GlobalState,
400 s *api.GlobalState,
401 d VkCmdBeginQueryArgsʳ) (func(), api.Cmd, error) {
402
403 if !GetState(s).QueryPools().Contains(d.QueryPool()) {
404 return nil, nil, fmt.Errorf("Cannot find QueryPool %v", d.QueryPool())
405 }
406
407 return func() {}, cb.VkCmdBeginQuery(commandBuffer, d.QueryPool(),
408 d.Query(), d.Flags()), nil
409}
410
411func rebuildVkCmdBlitImage(
412 ctx context.Context,

Callers 1

AddCommandFunction · 0.85

Calls 3

ContainsMethod · 0.65
FlagsMethod · 0.65
QueryMethod · 0.45

Tested by

no test coverage detected