radv: move DB_COUNT_CONTROL initialization to si_emit_config()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 19 Oct 2017 14:25:59 +0000 (16:25 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 20 Oct 2017 08:38:11 +0000 (10:38 +0200)
commit94e69f4141fcad0ba26ab178399d6393473e6ca2
tree49323ade593c3ae460990e8802cdb793ed3b1674
parent9e515cf38138bc0e7e884f893335ed486eac5741
radv: move DB_COUNT_CONTROL initialization to si_emit_config()

CLEAR_STATE will initialize DB_COUNT_CONTROL to 0 for CIK+.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_cmd_buffer.c
src/amd/vulkan/si_cmd_buffer.c