radeonsi: move PA_SU_POLY_OFFSET_DB_FMT_CNTL to poly offset states
authorAxel Davy <axel.davy@ens.fr>
Tue, 14 Jun 2016 20:04:41 +0000 (22:04 +0200)
committerAxel Davy <axel.davy@ens.fr>
Sat, 25 Jun 2016 08:16:15 +0000 (10:16 +0200)
commitff5abe9d90d0db7b50ec0b1f52ce3a2f766ecfd7
treefd954897f55521d969c4e005720f4f5f8da1a0ff
parent59a692916ca251db995050f7fc0bb7b4e6e4780b
radeonsi: move PA_SU_POLY_OFFSET_DB_FMT_CNTL to poly offset states

Emit PA_SU_POLY_OFFSET_DB_FMT_CNTL with rasterizer poly_offset states.
This will be useful to implement
PIPE_CAP_POLYGON_OFFSET_UNITS_UNSCALED.

Signed-off-by: Axel Davy <axel.davy@ens.fr>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_state.c