radeonsi: accept pipe_resource in si_sampler_view_add_buffer
authorMarek Olšák <marek.olsak@amd.com>
Fri, 26 Feb 2016 12:28:31 +0000 (13:28 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 9 Mar 2016 14:02:27 +0000 (15:02 +0100)
commit2dec5e09e19fd7aa40daaed92c3d6193a91faa92
treed7c52798f921a5d9fb851bb97bd516f4ca2d8901
parentf18fc70d6f62719e4fae2f93f2d563894bc1437f
radeonsi: accept pipe_resource in si_sampler_view_add_buffer

and rename .._buffers -> .._buffer

Based loosely on Nicolai's patch. This will make it easier to cherry-pick
Nicolai's patches from his image support branch.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_descriptors.c