r600g: move PA_SU_POLY_OFFSET_DB_FMT_CNTL to poly offset states for r600
authorAxel Davy <axel.davy@ens.fr>
Tue, 14 Jun 2016 20:22:50 +0000 (22:22 +0200)
committerAxel Davy <axel.davy@ens.fr>
Sat, 25 Jun 2016 08:16:15 +0000 (10:16 +0200)
commit400e8d8c4080de0d9ab907b6ebbcc15c1ab02822
treedc3920a0e9609f4ec82a095c7a7e47bffd0c7739
parentff5abe9d90d0db7b50ec0b1f52ce3a2f766ecfd7
r600g: move PA_SU_POLY_OFFSET_DB_FMT_CNTL to poly offset states for r600

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

v2: Increase the num_dw field for the poly offset atom

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