radv: use CLEAR_STATE for initializing some registers
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 5 Oct 2017 13:51:20 +0000 (15:51 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 12 Oct 2017 07:17:43 +0000 (09:17 +0200)
commit4f42ea4dcfd23a772ec6ea211b696e9b4b521ac7
treeb3eb8f3c47698d4180dcda1704db493a3e410fdd
parent65dcff7a26730e2e1112f7f326b941e3a3549870
radv: use CLEAR_STATE for initializing some registers

Based on RadeonSI.

This improves some Vulkan demos by +1% to +3%.

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