radeonsi: remove resource field from si_sampler_view
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Sat, 6 Feb 2016 21:21:52 +0000 (16:21 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 9 Mar 2016 14:02:27 +0000 (15:02 +0100)
commit2bf8ee34b8098ebeda82e21cc93919dc923531a1
treef8baa10f9149bab10e95d6354300654c3417d2e4
parent2dec5e09e19fd7aa40daaed92c3d6193a91faa92
radeonsi: remove resource field from si_sampler_view

view->resource is redundant with view->base.texture, so get rid of it.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/si_descriptors.c
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_state.c