Searched refs:total_wants (Results 1 – 1 of 1) sorted by relevance
156 unsigned total_wants = 0; in gen_get_urb_config() local172 total_wants += wants[i]; in gen_get_urb_config()178 unsigned remaining_space = MIN2(urb_chunks - total_needs, total_wants); in gen_get_urb_config()182 total_wants > 0 && i <= MESA_SHADER_TESS_EVAL; i++) { in gen_get_urb_config()184 roundf(wants[i] * (((float) remaining_space) / total_wants)); in gen_get_urb_config()187 total_wants -= wants[i]; in gen_get_urb_config()