radeonsi: enable the GS tri strip adj workaround with primitive_restart
authorMarek Olšák <marek.olsak@amd.com>
Sat, 9 Jan 2021 21:24:42 +0000 (16:24 -0500)
committerMarge Bot <eric+marge@anholt.net>
Wed, 20 Jan 2021 21:53:13 +0000 (21:53 +0000)
commit2206840f6c1e21435908abe1ca735ea524d850c5
tree9670a7262dc74d3f65271a5f416b70750cf53df1
parent888a45a36217f0ccac8d6afd5937dc3a5f3f5828
radeonsi: enable the GS tri strip adj workaround with primitive_restart

If a primitive restart index occurs after an even number of triangles,
the workaround works.

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