freedreno/ir3: make texture instruction construction more dynamic
authorIlia Mirkin <imirkin@alum.mit.edu>
Tue, 16 Sep 2014 06:09:48 +0000 (02:09 -0400)
committerRob Clark <robclark@freedesktop.org>
Tue, 23 Sep 2014 02:06:34 +0000 (22:06 -0400)
commit53678f5e6b4964136c04694aea771b1d433c8fab
tree60f4d453f1c6d42db23123e3a8ceb20836110961
parentdf341320c9be34c40b76e42510640120e0ebe0d3
freedreno/ir3: make texture instruction construction more dynamic

This will make life a lot easier as we add support for additional
instructions.

v2: shadow reference value is always .z or .w

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/ir3/ir3_compiler.c