Searched refs:brw_obj (Results 1 – 4 of 4) sorted by relevance
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | hsw_sol.c | 166 struct brw_transform_feedback_object *brw_obj = in hsw_begin_transform_feedback() local 169 brw_obj->primitive_mode = mode; in hsw_begin_transform_feedback() 173 brw_obj->zero_offsets = true; in hsw_begin_transform_feedback() 185 brw_store_data_imm64(brw, brw_obj->prim_count_bo, TALLY_OFFSET, 0ull); in hsw_begin_transform_feedback() 186 brw_store_data_imm64(brw, brw_obj->prim_count_bo, TALLY_OFFSET + 8, 0ull); in hsw_begin_transform_feedback() 189 save_prim_start_values(brw, brw_obj); in hsw_begin_transform_feedback() 200 struct brw_transform_feedback_object *brw_obj = in hsw_pause_transform_feedback() local 212 OUT_RELOC(brw_obj->offset_bo, in hsw_pause_transform_feedback() 220 tally_prims_written(brw, brw_obj, false); in hsw_pause_transform_feedback() 231 struct brw_transform_feedback_object *brw_obj = in hsw_resume_transform_feedback() local [all …]
|
D | gen7_sol_state.c | 475 struct brw_transform_feedback_object *brw_obj = in brw_get_transform_feedback_vertex_count() local 481 brw_compute_xfb_vertices_written(brw, brw_obj); in brw_get_transform_feedback_vertex_count() 482 return brw_obj->vertices_written[stream]; in brw_get_transform_feedback_vertex_count() 490 struct brw_transform_feedback_object *brw_obj = in gen7_begin_transform_feedback() local 495 brw_obj->zero_offsets = true; in gen7_begin_transform_feedback() 505 brw_compute_xfb_vertices_written(brw, brw_obj); in gen7_begin_transform_feedback() 509 brw_obj->prims_generated[i] = 0; in gen7_begin_transform_feedback() 513 gen7_save_primitives_written_counters(brw, brw_obj); in gen7_begin_transform_feedback() 515 brw_obj->primitive_mode = mode; in gen7_begin_transform_feedback() 529 struct brw_transform_feedback_object *brw_obj = in gen7_end_transform_feedback() local [all …]
|
D | gen6_sol.c | 191 struct brw_transform_feedback_object *brw_obj = in brw_new_transform_feedback() local 193 if (!brw_obj) in brw_new_transform_feedback() 196 _mesa_init_transform_feedback_object(&brw_obj->base, name); in brw_new_transform_feedback() 198 brw_obj->offset_bo = in brw_new_transform_feedback() 200 brw_obj->prim_count_bo = in brw_new_transform_feedback() 203 return &brw_obj->base; in brw_new_transform_feedback() 210 struct brw_transform_feedback_object *brw_obj = in brw_delete_transform_feedback() local 217 drm_intel_bo_unreference(brw_obj->offset_bo); in brw_delete_transform_feedback() 218 drm_intel_bo_unreference(brw_obj->prim_count_bo); in brw_delete_transform_feedback() 220 free(brw_obj); in brw_delete_transform_feedback()
|
D | gen8_sol_state.c | 45 struct brw_transform_feedback_object *brw_obj = in gen8_upload_3dstate_so_buffers() local 85 OUT_RELOC64(brw_obj->offset_bo, in gen8_upload_3dstate_so_buffers() 88 if (brw_obj->zero_offsets) in gen8_upload_3dstate_so_buffers() 94 brw_obj->zero_offsets = false; in gen8_upload_3dstate_so_buffers()
|