radv: add has_clear_state and enable it on CIK+ only
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 5 Oct 2017 12:55:24 +0000 (14:55 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 12 Oct 2017 07:17:40 +0000 (09:17 +0200)
commit65dcff7a26730e2e1112f7f326b941e3a3549870
tree4c16305c6f1e400e2a60de7bb6edfe9695ca6181
parentc74ed3966e221b13bae83067f5b84f720cbc3021
radv: add has_clear_state and enable it on CIK+ only

This will allow us to emit the CLEAR_STATE packet instead
of a bunch of useless packets when doing CS initialization.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_private.h