radeonsi: extract the buffer descriptor computation into its own function
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Sat, 6 Feb 2016 22:08:12 +0000 (17:08 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 9 Mar 2016 14:02:27 +0000 (15:02 +0100)
commit1197c69bdd4d2c99a2e05944af18488d7a3425be
tree4eeb329db541afbbd59df97db76779ec8153a0de
parent2bf8ee34b8098ebeda82e21cc93919dc923531a1
radeonsi: extract the buffer descriptor computation into its own function

This will allow it to be re-used for shader image descriptors.

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