r600g: mask unused source components for SAMPLE
authorVadim Girlin <vadimgirlin@gmail.com>
Thu, 25 Apr 2013 15:42:31 +0000 (19:42 +0400)
committerVadim Girlin <vadimgirlin@gmail.com>
Tue, 30 Apr 2013 17:50:47 +0000 (21:50 +0400)
commit7d555f2f4ce8be3c53bcc914620bcefc22c05cb5
tree3afe556033a621c5e0fd8fd0f278f719d59199f2
parentdf410863d7c2377cfbabfef907fc318e10c5486e
r600g: mask unused source components for SAMPLE

This results in more clean shader code and may improve the quality of
optimized code produced by r600-sb due to eliminated false dependencies
in some cases.

Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
src/gallium/drivers/r600/r600_shader.c