Skip to content
Commit ad764e36 authored by Bas Nieuwenhuizen's avatar Bas Nieuwenhuizen Committed by Emil Velikov
Browse files

ac/nir: Use instance_rate_inputs per attribute, not per variable.



This did the wrong thing if we had e.g. an array for which only some
of the attributes use the instance index. Tripped up some new CTS
tests.

CC: <mesa-stable@lists.freedesktop.org>
Reviewed-by: default avatarSamuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
(cherry picked from commit 5a4dc285)

Conflicts:
	src/amd/common/ac_nir_to_llvm.c
parent 473d665a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment