freedreno/a3xx/compiler: handle sync flags better
authorRob Clark <robclark@freedesktop.org>
Tue, 27 Aug 2013 23:24:53 +0000 (19:24 -0400)
committerRob Clark <robclark@freedesktop.org>
Thu, 29 Aug 2013 21:35:04 +0000 (17:35 -0400)
commit0267f264cc5a492d29858f3a2f2fa69f4f73f82b
tree99bf60b27dd4964a57ca521dd535297d0399f9b2
parent4a2b5b23840237e54bc810aaaa23b3a81832e1e3
freedreno/a3xx/compiler: handle sync flags better

We need to set the flag on all the .xyzw components that are written by
the instruction, not just on .x.  Otherwise a later use of rN.y (for
example) will not trigger the appropriate sync bit to be set.

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