Home | History | Annotate | Download | only in radeonsi

Lines Matching refs:sctx

121 void si_pm4_free_state(struct si_context *sctx,
128 if (idx != ~0 && sctx->emitted.array[idx] == state) {
129 sctx->emitted.array[idx] = NULL;
135 void si_pm4_emit(struct si_context *sctx, struct si_pm4_state *state)
137 struct radeon_winsys_cs *cs = sctx->b.gfx.cs;
140 radeon_add_to_buffer_list(&sctx->b, &sctx->b.gfx, state->bo[i],
149 radeon_add_to_buffer_list(&sctx->b, &sctx->b.gfx, ib,
160 void si_pm4_emit_dirty(struct si_context *sctx)
163 struct si_pm4_state *state = sctx->queued.array[i];
165 if (!state || sctx->emitted.array[i] == state)
168 si_pm4_emit(sctx, state);
169 sctx->emitted.array[i] = state;
173 void si_pm4_reset_emitted(struct si_context *sctx)
175 memset(&sctx->emitted, 0, sizeof(sctx->emitted));
178 void si_pm4_upload_indirect_buffer(struct si_context *sctx,
181 struct pipe_screen *screen = sctx->b.b.screen;
185 if (sctx->b.chip_class < CIK)
199 if (sctx->screen->b.info.gfx_ib_pad_with_type2) {
207 pipe_buffer_write(&sctx->b.b, &state->indirect_buffer->b.b,