Lines Matching defs:qcmd
2900 struct vk_cmd_begin_query *qcmd = &cmd->u.begin_query;
2901 LVP_FROM_HANDLE(lvp_query_pool, pool, qcmd->query_pool);
2909 if (!pool->queries[qcmd->query]) {
2911 pool->queries[qcmd->query] = state->pctx->create_query(state->pctx,
2915 state->pctx->begin_query(state->pctx, pool->queries[qcmd->query]);
2921 struct vk_cmd_end_query *qcmd = &cmd->u.end_query;
2922 LVP_FROM_HANDLE(lvp_query_pool, pool, qcmd->query_pool);
2923 assert(pool->queries[qcmd->query]);
2925 state->pctx->end_query(state->pctx, pool->queries[qcmd->query]);
2932 struct vk_cmd_begin_query_indexed_ext *qcmd = &cmd->u.begin_query_indexed_ext;
2933 LVP_FROM_HANDLE(lvp_query_pool, pool, qcmd->query_pool);
2941 if (!pool->queries[qcmd->query]) {
2943 pool->queries[qcmd->query] = state->pctx->create_query(state->pctx,
2944 qtype, qcmd->index);
2947 state->pctx->begin_query(state->pctx, pool->queries[qcmd->query]);
2953 struct vk_cmd_end_query_indexed_ext *qcmd = &cmd->u.end_query_indexed_ext;
2954 LVP_FROM_HANDLE(lvp_query_pool, pool, qcmd->query_pool);
2955 assert(pool->queries[qcmd->query]);
2957 state->pctx->end_query(state->pctx, pool->queries[qcmd->query]);
2963 struct vk_cmd_reset_query_pool *qcmd = &cmd->u.reset_query_pool;
2964 LVP_FROM_HANDLE(lvp_query_pool, pool, qcmd->query_pool);
2965 for (unsigned i = qcmd->first_query; i < qcmd->first_query + qcmd->query_count; i++) {
2976 struct vk_cmd_write_timestamp2 *qcmd = &cmd->u.write_timestamp2;
2977 LVP_FROM_HANDLE(lvp_query_pool, pool, qcmd->query_pool);
2978 if (!pool->queries[qcmd->query]) {
2979 pool->queries[qcmd->query] = state->pctx->create_query(state->pctx,
2983 if (!(qcmd->stage == VK_PIPELINE_STAGE_2_TOP_OF_PIPE_BIT))
2985 state->pctx->end_query(state->pctx, pool->queries[qcmd->query]);