radeonsi: translate pipe_prim_type only when it changes
authorMarek Olšák <marek.olsak@amd.com>
Sun, 27 Dec 2020 02:16:28 +0000 (21:16 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 18 Jan 2021 01:17:19 +0000 (01:17 +0000)
commit6f74105a343d42bb6cb5a2ece7178a10d6117e8e
tree4913e6b5551412d8210bd5b991b59a8e0f93f48c
parentd0d4c4ba1d7a59f7fb9cf18c7fdf4546690f4387
radeonsi: translate pipe_prim_type only when it changes

just sink it into the branch

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8548>
src/gallium/drivers/radeonsi/si_state_draw.cpp