( ctx context.Context, cb CommandBuilder, commandBuffer VkCommandBuffer, r *api.GlobalState, s *api.GlobalState, d VkCmdBeginQueryArgsʳ)
| 393 | } |
| 394 | |
| 395 | func 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 | |
| 411 | func rebuildVkCmdBlitImage( |
| 412 | ctx context.Context, |
no test coverage detected