zink: consider polygon-mode for rast_prim
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Tue, 1 Nov 2022 13:08:09 +0000 (14:08 +0100)
committerMarge Bot <emma+marge@anholt.net>
Wed, 2 Nov 2022 14:30:58 +0000 (14:30 +0000)
commit7d7e94066da4b7f04af98d9c314d080af53c79a8
tree7d706a60829b866efd7aa7611315a72478e2e6bb
parent18599417685c009fe1c91c838ff8d4a66257d430
zink: consider polygon-mode for rast_prim

But because polygon-offset needs to consider the primitive-type *before*
overriding the type, add a zink_prim_type()-helper for the partially
resolved state.

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19438>
src/freedreno/ci/traces-freedreno.yml
src/gallium/drivers/zink/zink_draw.cpp