This will make life a lot easier as we add support for additional instructions.
v2: shadow reference value is always .z or .w
53678f5 freedreno/ir3: make texture instruction construction more dynamic
src/gallium/drivers/freedreno/ir3/ir3_compiler.c | 225 ++++++++--------------
1 file changed, 80 insertions(+), 145 deletions(-)
Upstream: cgit.freedesktop.org