radeonsi: move DB_SHADER_CONTROL into db_render_state
authorMarek Olšák <marek.olsak@amd.com>
Fri, 19 Sep 2014 15:27:02 +0000 (17:27 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 24 Sep 2014 12:48:02 +0000 (14:48 +0200)
commitdba4c5baf449108f8d1f910af33998ce3c21b47a
treefb4c51a8ccb895d5857e0967f465cc6292ee7245
parentadc5797f54260ccf60020c00c231d9c00a00b13d
radeonsi: move DB_SHADER_CONTROL into db_render_state

I will need this for fixing sample shading with 1 sample.

The good news is that all shader pm4 states no longer use the current context
state, so we can generate the pm4 states outside of draw_vbo if needed.

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