tu: Only write `A6XX_PC_PRIMITIVE_CNTL_0` if changed
authorMark Collins <mark@igalia.com>
Mon, 17 Oct 2022 08:47:48 +0000 (08:47 +0000)
committerMarge Bot <emma+marge@anholt.net>
Wed, 19 Oct 2022 19:00:42 +0000 (19:00 +0000)
commit9248ce29781121684902177a9c2f3b4a62f8300d
tree36b113e9cf34ab722b633942a675cd6c032caf08
parent3de9c429083e1db224e7fb67aca14d4f1de8f995
tu: Only write `A6XX_PC_PRIMITIVE_CNTL_0` if changed

Increases the score in the `draw` test in `vkoverhead` to 71809
from 67170 on a HDK 888.

Signed-off-by: Mark Collins <mark@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19107>
src/freedreno/vulkan/tu_cmd_buffer.c
src/freedreno/vulkan/tu_cmd_buffer.h