Lines Matching refs:rctx
157 void si_pm4_free_state(struct r600_context *rctx,
164 if (idx != ~0 && rctx->emitted.array[idx] == state) {
165 rctx->emitted.array[idx] = NULL;
174 uint32_t si_pm4_sync_flags(struct r600_context *rctx)
179 struct si_pm4_state *state = rctx->queued.array[i];
181 if (!state || rctx->emitted.array[i] == state)
189 unsigned si_pm4_dirty_dw(struct r600_context *rctx)
194 struct si_pm4_state *state = rctx->queued.array[i];
196 if (!state || rctx->emitted.array[i] == state)
205 void si_pm4_emit(struct r600_context *rctx, struct si_pm4_state *state)
207 struct radeon_winsys_cs *cs = rctx->cs;
209 r600_context_bo_reloc(rctx, state->bo[i],
222 void si_pm4_emit_dirty(struct r600_context *rctx)
225 struct si_pm4_state *state = rctx->queued.array[i];
227 if (!state || rctx->emitted.array[i] == state)
230 si_pm4_emit(rctx, state);
231 rctx->emitted.array[i] = state;
235 void si_pm4_reset_emitted(struct r600_context *rctx)
237 memset(&rctx->emitted, 0, sizeof(rctx->emitted));