Home
last modified time | relevance | path

Searched refs:nr_vs_entries (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen6_urb.c53 int nr_vs_entries, nr_gs_entries; in gen6_upload_urb() local
69 nr_vs_entries = (total_urb_size/2) / (brw->urb.vs_size * 128); in gen6_upload_urb()
72 nr_vs_entries = total_urb_size / (brw->urb.vs_size * 128); in gen6_upload_urb()
77 if (nr_vs_entries > brw->urb.max_vs_entries) in gen6_upload_urb()
78 nr_vs_entries = brw->urb.max_vs_entries; in gen6_upload_urb()
84 brw->urb.nr_vs_entries = ROUND_DOWN_TO(nr_vs_entries, 4); in gen6_upload_urb()
87 assert(brw->urb.nr_vs_entries >= 24); in gen6_upload_urb()
88 assert(brw->urb.nr_vs_entries % 4 == 0); in gen6_upload_urb()
96 ((brw->urb.nr_vs_entries) << GEN6_URB_VS_ENTRIES_SHIFT)); in gen6_upload_urb()
Dgen7_urb.c87 int nr_vs_entries = handle_region_size / (brw->urb.vs_size * 64); in gen7_upload_urb() local
88 if (nr_vs_entries > brw->urb.max_vs_entries) in gen7_upload_urb()
89 nr_vs_entries = brw->urb.max_vs_entries; in gen7_upload_urb()
92 brw->urb.nr_vs_entries = ROUND_DOWN_TO(nr_vs_entries, 8); in gen7_upload_urb()
97 assert(brw->urb.nr_vs_entries % 8 == 0); in gen7_upload_urb()
103 gen7_emit_urb_state(brw, brw->urb.nr_vs_entries, brw->urb.vs_size, in gen7_upload_urb()
108 gen7_emit_urb_state(struct brw_context *brw, GLuint nr_vs_entries, in gen7_emit_urb_state() argument
115 OUT_BATCH(nr_vs_entries | in gen7_emit_urb_state()
Dbrw_vs_state.c105 switch (brw->urb.nr_vs_entries) { in brw_upload_vs_unit()
117 vs->thread4.nr_urb_entries = brw->urb.nr_vs_entries >> 2; in brw_upload_vs_unit()
123 switch (brw->urb.nr_vs_entries) { in brw_upload_vs_unit()
135 vs->thread4.nr_urb_entries = brw->urb.nr_vs_entries; in brw_upload_vs_unit()
140 vs->thread4.max_threads = CLAMP(brw->urb.nr_vs_entries / 2, in brw_upload_vs_unit()
Dbrw_urb.c103 brw->urb.gs_start = brw->urb.nr_vs_entries * brw->urb.vsize; in check_urb_layout()
143 brw->urb.nr_vs_entries = limits[VS].preferred_nr_entries; in recalculate_urb_fence()
152 brw->urb.nr_vs_entries = 128; in recalculate_urb_fence()
158 brw->urb.nr_vs_entries = limits[VS].preferred_nr_entries; in recalculate_urb_fence()
162 brw->urb.nr_vs_entries = 64; in recalculate_urb_fence()
167 brw->urb.nr_vs_entries = limits[VS].preferred_nr_entries; in recalculate_urb_fence()
172 brw->urb.nr_vs_entries = limits[VS].min_nr_entries; in recalculate_urb_fence()
Dbrw_context.h826 GLuint nr_vs_entries; member
1197 gen7_emit_urb_state(struct brw_context *brw, GLuint nr_vs_entries,