Lines Matching defs:state
161 static void si_dump_gfx_shader(struct si_context *ctx, const struct si_shader_ctx_state *state,
164 struct si_shader *current = state->current;
166 if (!state->cso || !current)
178 const struct si_cs_shader_state *state = &ctx->cs_shader_state;
180 if (!state->program)
185 chunk->shader = &state->program->shader;
186 si_compute_reference(&chunk->program, state->program);
583 struct pipe_framebuffer_state *state = &sctx->framebuffer.state;
587 for (i = 0; i < state->nr_cbufs; i++) {
588 if (!state->cbufs[i])
591 tex = (struct si_texture *)state->cbufs[i]->texture;
597 if (state->zsbuf) {
598 tex = (struct si_texture *)state->zsbuf->texture;
676 fprintf(f, COLOR_CYAN " Sampler state:" COLOR_RESET "\n");
804 const struct si_shader_ctx_state *state,
807 if (!state->cso || !state->current)
810 si_dump_descriptors(sctx, state->cso->stage, &state->cso->info, log);