Home
last modified time | relevance | path

Searched refs:brw_obj (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen7_sol_state.c43 struct brw_transform_feedback_object *brw_obj = in gen7_begin_transform_feedback() local
49 brw_save_primitives_written_counters(brw, brw_obj); in gen7_begin_transform_feedback()
61 brw_obj->primitive_mode = mode; in gen7_begin_transform_feedback()
75 struct brw_transform_feedback_object *brw_obj = in gen7_end_transform_feedback() local
80 brw_save_primitives_written_counters(brw, brw_obj); in gen7_end_transform_feedback()
87 brw_obj->previous_counter = brw_obj->counter; in gen7_end_transform_feedback()
88 brw_reset_transform_feedback_counter(&brw_obj->counter); in gen7_end_transform_feedback()
95 brw_obj->vertices_written_valid = false; in gen7_end_transform_feedback()
103 struct brw_transform_feedback_object *brw_obj = in gen7_pause_transform_feedback() local
116 OUT_RELOC(brw_obj->offset_bo, RELOC_WRITE, i * sizeof(uint32_t)); in gen7_pause_transform_feedback()
[all …]
Dgen6_sol.c190 struct brw_transform_feedback_object *brw_obj = in brw_new_transform_feedback() local
192 if (!brw_obj) in brw_new_transform_feedback()
195 _mesa_init_transform_feedback_object(&brw_obj->base, name); in brw_new_transform_feedback()
197 brw_obj->offset_bo = in brw_new_transform_feedback()
199 brw_obj->prim_count_bo = in brw_new_transform_feedback()
202 return &brw_obj->base; in brw_new_transform_feedback()
209 struct brw_transform_feedback_object *brw_obj = in brw_delete_transform_feedback() local
216 brw_bo_unreference(brw_obj->offset_bo); in brw_delete_transform_feedback()
217 brw_bo_unreference(brw_obj->prim_count_bo); in brw_delete_transform_feedback()
219 free(brw_obj); in brw_delete_transform_feedback()
[all …]
Dhsw_sol.c162 struct brw_transform_feedback_object *brw_obj = in hsw_begin_transform_feedback() local
166 brw_obj->primitive_mode = mode; in hsw_begin_transform_feedback()
170 brw_obj->zero_offsets = true; in hsw_begin_transform_feedback()
182 brw_store_data_imm64(brw, brw_obj->prim_count_bo, TALLY_OFFSET, 0ull); in hsw_begin_transform_feedback()
183 brw_store_data_imm64(brw, brw_obj->prim_count_bo, TALLY_OFFSET + 8, 0ull); in hsw_begin_transform_feedback()
186 save_prim_start_values(brw, brw_obj); in hsw_begin_transform_feedback()
197 struct brw_transform_feedback_object *brw_obj = in hsw_pause_transform_feedback() local
210 OUT_RELOC(brw_obj->offset_bo, RELOC_WRITE, i * sizeof(uint32_t)); in hsw_pause_transform_feedback()
216 tally_prims_written(brw, brw_obj, false); in hsw_pause_transform_feedback()
227 struct brw_transform_feedback_object *brw_obj = in hsw_resume_transform_feedback() local
[all …]
DgenX_state_upload.c3624 struct brw_transform_feedback_object *brw_obj = local
3665 rw_bo(brw_obj->offset_bo, i * sizeof(uint32_t));
3667 if (brw_obj->zero_offsets) {
3679 brw_obj->zero_offsets = false;