r600g: use format from the sampler view not from the texture.
authorDave Airlie <airlied@redhat.com>
Thu, 7 Oct 2010 05:13:09 +0000 (15:13 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 7 Oct 2010 05:17:28 +0000 (15:17 +1000)
commit97eea87bde5d05f247580aeb2963ac2476417bd5
tree79ec0e9043bdff6812e9f08f8f4fe0b580e8fb53
parent84457701b05ef29126d90c2fe72083278d26bd4f
r600g: use format from the sampler view not from the texture.

we want to use the format from the sampler view which isn't always the
same as the texture format when creating sampler views.
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600_state.c