radeonsi: don't set prefer_mono for fetched instance divisors
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>
This commit is contained in:
parent
1976f4980c
commit
0186c788b6
|
@ -1779,11 +1779,6 @@ void si_shader_selector_key_vs(struct si_context *sctx, struct si_shader_selecto
|
|||
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;
|
||||
|
|
Loading…
Reference in New Issue