broadcom/vc5: Use the sampler view's format, not the resource's.
authorEric Anholt <eric@anholt.net>
Wed, 25 Oct 2017 19:51:04 +0000 (12:51 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 30 Oct 2017 20:31:27 +0000 (13:31 -0700)
commitfe6fc579cbdc040a9bd62170c3713546dd112ae5
tree19b5e796d6bf80f580ff7c7efd00d0fc12f7538b
parent0ec4b4178f5df2353e97eb6e414040a46bfc728d
broadcom/vc5: Use the sampler view's format, not the resource's.

This should help with texture views, though I just noticed this while
reading the code.
src/gallium/drivers/vc5/vc5_resource.c
src/gallium/drivers/vc5/vc5_resource.h
src/gallium/drivers/vc5/vc5_state.c