Lines Matching refs:ctx

133    struct si_context *ctx;
144 si_shader_selector_reference(chunk->ctx, &chunk->sel, NULL);
152 struct si_screen *sscreen = chunk->ctx->screen;
161 static void si_dump_gfx_shader(struct si_context *ctx, const struct si_shader_ctx_state *state,
170 chunk->ctx = ctx;
172 si_shader_selector_reference(ctx, &chunk->sel, current->selector);
176 static void si_dump_compute_shader(struct si_context *ctx, struct u_log_context *log)
178 const struct si_cs_shader_state *state = &ctx->cs_shader_state;
184 chunk->ctx = ctx;
340 struct si_context *ctx;
398 struct si_context *ctx = chunk->ctx;
406 uint32_t *map = ctx->ws->buffer_map(ctx->ws, scs->trace_buf->buf, NULL,
413 if (ctx->cs_preamble_state)
414 ac_parse_ib(f, ctx->cs_preamble_state->pm4, ctx->cs_preamble_state->ndw, NULL, 0,
415 "IB2: Init config", ctx->gfx_level, NULL, NULL);
420 &last_trace_id, map ? 1 : 0, "IB", ctx->gfx_level, NULL, NULL);
422 si_parse_current_ib(f, &ctx->gfx_cs, chunk->gfx_begin, chunk->gfx_end, &last_trace_id,
423 map ? 1 : 0, "IB", ctx->gfx_level);
431 si_dump_bo_list(ctx, &scs->gfx, f);
440 static void si_log_cs(struct si_context *ctx, struct u_log_context *log, bool dump_bo_list)
442 assert(ctx->current_saved_cs);
444 struct si_saved_cs *scs = ctx->current_saved_cs;
445 unsigned gfx_cur = ctx->gfx_cs.prev_dw + ctx->gfx_cs.current.cdw;
452 chunk->ctx = ctx;
465 struct si_context *ctx = (struct si_context *)data;
466 si_log_cs(ctx, log, false);
1018 static void si_dump_debug_state(struct pipe_context *ctx, FILE *f, unsigned flags)
1020 struct si_context *sctx = (struct si_context *)ctx;