radeonsi: move PA_SU_SC_MODE_CNTL to rasterizer state
authorMarek Olšák <marek.olsak@amd.com>
Sun, 15 Mar 2015 17:53:50 +0000 (18:53 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 16 Mar 2015 11:54:19 +0000 (12:54 +0100)
commitf5832f3f9dd0ac0b401d351acab19425fe3c1187
treeffbabcdab35c69a23161bbce73869a0879ad08cd
parent98a23982227dce29b015dcb5a867d05f2bee4388
radeonsi: move PA_SU_SC_MODE_CNTL to rasterizer state

This requires enabling the optional GL provoking vertex behavior for quads.

+ some cosmetic changes, so that the register is set exactly the same as
on r600.

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