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

This will allow this code to be re-used for shader images.

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