tgsi: keep track of read vs written indirects
authorRob Clark <robclark@freedesktop.org>
Sat, 3 Jan 2015 21:11:28 +0000 (16:11 -0500)
committerRob Clark <robclark@freedesktop.org>
Thu, 8 Jan 2015 00:37:28 +0000 (19:37 -0500)
commit49b4a6331f846cd86e6ca792959a9506bddeb658
treeae3dd3acf607d930dcab7dac62b6900202f42e96
parentd7cd9bfc7f4cf6ae63dae7e41086fb4f08f379c0
tgsi: keep track of read vs written indirects

At least temporarily, I need to fallback to old compiler still for
relative dest (for freedreno), but I can do relative src temp.  Only
a temporary situation, but seems easy/reasonable for tgsi-scan to
track this.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/tgsi/tgsi_scan.c
src/gallium/auxiliary/tgsi/tgsi_scan.h