radeonsi: move scratch reloc state setup
authorMarek Olšák <marek.olsak@amd.com>
Sun, 15 Mar 2015 19:13:52 +0000 (20:13 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 16 Mar 2015 11:54:19 +0000 (12:54 +0100)
commitdc394136404eafec689874934db0198be6182c59
treee3630c59a281f384694c94025da44a0ea2cc86c6
parent567c8d73008a672cb71a84a4724829d34e1652b2
radeonsi: move scratch reloc state setup

- move it to its own function
- do it after all states are emitted
- bump SI_MAX_DRAW_CS_DWORDS

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_state_draw.c