svga: minor code improvements in svga_validate_pipe_sampler_view()
authorBrian Paul <brianp@vmware.com>
Tue, 18 Oct 2016 16:20:55 +0000 (10:20 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 18 Oct 2016 22:16:26 +0000 (16:16 -0600)
commit8b731b8b0364a19917a62d69ebd106423555ec27
tree9595934aa579a70d1079c176813d2f5f0a15f077
parent0ca134aa9f71b7a27b81caa78f9477aea948f0d7
svga: minor code improvements in svga_validate_pipe_sampler_view()

Use the 'texture' local var in more places.
Rename 'pFormat' to 'viewFormat'.

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/drivers/svga/svga_state_sampler.c