freedreno/ir3/cp: handle indirect properly
authorRob Clark <robclark@freedesktop.org>
Wed, 8 Apr 2015 18:10:00 +0000 (14:10 -0400)
committerRob Clark <robclark@freedesktop.org>
Sat, 11 Apr 2015 15:40:21 +0000 (11:40 -0400)
commitd5357c16cc0ccd84c3475778fcc08a025b8c24f7
tree92b83796855b6695a7998ad6c6e2eb0c6d56666c
parent49be76166b0b3c93bd2287fabc31d76d143d314c
freedreno/ir3/cp: handle indirect properly

I noticed some cases where we where trying to copy-propagate indirect
src's into places they cannot go, like 2nd src for cat3 (mad, etc).
Expand out valid_flags() to be aware of relativ flag, and fix up a few
related spots.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/ir3/ir3_cp.c