r600g: fix two issues in compressed msaa reading code
authorDave Airlie <airlied@redhat.com>
Thu, 11 Apr 2013 04:51:35 +0000 (05:51 +0100)
committerDave Airlie <airlied@redhat.com>
Thu, 11 Apr 2013 20:09:27 +0000 (21:09 +0100)
commit184278a804bb92b998b46c1f8db8b516cd7dcf21
tree3290b751603bb8d88f9cdedcf89b13ca55e9b76c
parente9fa3a94486d80da34542cfd24425c208a8d30fe
r600g: fix two issues in compressed msaa reading code

I've no idea when sample_chan would ever be 4 here, but 4 is most
definitely wrong, array textures have it as 3 as well.

Also the cayman code though unused is obviously wrong.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_shader.c