r600g: move PA_SU_POLY_OFFSET_DB_FMT_CNTL to poly offset states for evergreen
authorAxel Davy <axel.davy@ens.fr>
Tue, 14 Jun 2016 20:30:11 +0000 (22:30 +0200)
committerAxel Davy <axel.davy@ens.fr>
Sat, 25 Jun 2016 08:16:15 +0000 (10:16 +0200)
commitfe2ec50d754d9ddf38d167ff56e376577732c128
tree995d4935fec11da80b2b70d5e238acc94e9b90c6
parent400e8d8c4080de0d9ab907b6ebbcc15c1ab02822
r600g: move PA_SU_POLY_OFFSET_DB_FMT_CNTL to poly offset states for evergreen

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/evergreen_state.c