Lines Matching refs:ice
132 mark_available(struct iris_context *ice, struct iris_query *q)
134 struct iris_batch *batch = &ice->batches[q->batch_idx];
170 write_value(struct iris_context *ice, struct iris_query *q, unsigned offset)
172 struct iris_batch *batch = &ice->batches[q->batch_idx];
197 iris_pipelined_write(&ice->batches[IRIS_BATCH_RENDER], q,
205 iris_pipelined_write(&ice->batches[IRIS_BATCH_RENDER], q,
246 write_overflow_values(struct iris_context *ice, struct iris_query *q, bool end)
248 struct iris_batch *batch = &ice->batches[IRIS_BATCH_RENDER];
462 struct iris_context *ice = (void *) ctx;
468 q->monitor = iris_create_monitor_object(ice, num_queries, query_types);
497 struct iris_context *ice = (void *) ctx;
512 u_upload_alloc(ice->query_buffer_uploader, 0,
528 ice->state.prims_generated_query_active = true;
529 ice->state.dirty |= IRIS_DIRTY_STREAMOUT | IRIS_DIRTY_CLIP;
534 write_overflow_values(ice, q, false);
536 write_value(ice, q,
546 struct iris_context *ice = (void *) ctx;
557 struct iris_batch *batch = &ice->batches[q->batch_idx];
562 mark_available(ice, q);
567 ice->state.prims_generated_query_active = false;
568 ice->state.dirty |= IRIS_DIRTY_STREAMOUT | IRIS_DIRTY_CLIP;
573 write_overflow_values(ice, q, true);
575 write_value(ice, q,
580 mark_available(ice, q);
590 iris_check_query_no_flush(struct iris_context *ice, struct iris_query *q)
592 struct iris_screen *screen = (void *) ice->ctx.screen;
606 struct iris_context *ice = (void *) ctx;
629 struct iris_batch *batch = &ice->batches[q->batch_idx];
660 struct iris_context *ice = (void *) ctx;
662 struct iris_batch *batch = &ice->batches[q->batch_idx];
703 iris_dirty_for_history(ice, res);
734 struct iris_context *ice = (void *) ctx;
736 if (ice->state.statistics_counters_enabled == enable)
741 ice->state.statistics_counters_enabled = enable;
742 ice->state.dirty |= IRIS_DIRTY_CLIP |
746 ice->state.stage_dirty |= IRIS_STAGE_DIRTY_GS |
753 set_predicate_enable(struct iris_context *ice, bool value)
756 ice->state.predicate = IRIS_PREDICATE_STATE_RENDER;
758 ice->state.predicate = IRIS_PREDICATE_STATE_DONT_RENDER;
762 set_predicate_for_result(struct iris_context *ice,
766 struct iris_batch *batch = &ice->batches[IRIS_BATCH_RENDER];
772 ice->state.predicate = IRIS_PREDICATE_STATE_USE_BIT;
816 ice->state.compute_predicate = bo;
827 struct iris_context *ice = (void *) ctx;
831 ice->state.compute_predicate = NULL;
834 ice->state.predicate = IRIS_PREDICATE_STATE_RENDER;
838 iris_check_query_no_flush(ice, q);
841 set_predicate_enable(ice, (q->result != 0) ^ condition);
845 perf_debug(&ice->dbg, "Conditional rendering demoted from "
848 set_predicate_for_result(ice, q, condition);
853 genX(init_query)(struct iris_context *ice)
855 struct pipe_context *ctx = &ice->ctx;