radeonsi: separate scratch state patching code into its own function
authorMarek Olšák <marek.olsak@amd.com>
Fri, 3 Mar 2017 23:25:27 +0000 (00:25 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 4 May 2017 22:23:44 +0000 (00:23 +0200)
commit9dfc030b486afab38f86f2b04f3a7c90f0a02fe6
treefe36dc31a1e8e1a7d2fcfadc9fab0a3fc17c77d3
parent1b01014cbfa1d343a3b84cabfd4759bcc8520ea6
radeonsi: separate scratch state patching code into its own function

Picked from a different branch. When we stop using the scratch patching,
this function will not be called.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_state_shaders.c