Home
last modified time | relevance | path

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

/third_party/mesa3d/src/freedreno/ir3/
Dir3_nir_analyze_ubo_ranges.c153 struct ir3_ubo_range *plan_r = &state->range[i]; in gather_ubo_ranges() local
154 if (memcmp(&plan_r->ubo, &ubo, sizeof(ubo))) in gather_ubo_ranges()
160 if (r.start > plan_r->end || r.end < plan_r->start) in gather_ubo_ranges()
163 r.start = MIN2(r.start, plan_r->start); in gather_ubo_ranges()
164 r.end = MAX2(r.end, plan_r->end); in gather_ubo_ranges()
166 uint32_t added = (plan_r->start - r.start) + (r.end - plan_r->end); in gather_ubo_ranges()
170 plan_r->start = r.start; in gather_ubo_ranges()
171 plan_r->end = r.end; in gather_ubo_ranges()
185 struct ir3_ubo_range *plan_r = &state->range[state->num_enabled++]; in gather_ubo_ranges() local
186 plan_r->ubo = ubo; in gather_ubo_ranges()
[all …]