It's not necessary because the overhead is very low and the comment isn't
true anymore. (the divisions are fast now)
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12812>
prolog_key->instance_divisor_is_one = elts->instance_divisor_is_one;
prolog_key->instance_divisor_is_fetched = elts->instance_divisor_is_fetched;
- /* Prefer a monolithic shader to allow scheduling divisions around
- * VBO loads. */
- if (prolog_key->instance_divisor_is_fetched)
- key->opt.prefer_mono = 1;
-
unsigned count = MIN2(vs->info.num_inputs, elts->count);
unsigned count_mask = (1 << count) - 1;
unsigned fix = elts->fix_fetch_always & count_mask;