nir: allow to force line strip out in nir_create_passthrough_gs
authorantonino <antonino.maniscalco@collabora.com>
Fri, 3 Feb 2023 14:42:20 +0000 (15:42 +0100)
committerMarge Bot <emma+marge@anholt.net>
Wed, 29 Mar 2023 19:18:40 +0000 (19:18 +0000)
commit3b5fb8b0607e1e8e0916ab8f6acaf01f061e94f8
treec511529be5a2c1b65be973ebf935fda044995b2a
parent90a8525d703330b9d198ddf9579c560d0e5cadaa
nir: allow to force line strip out in nir_create_passthrough_gs

`nir_create_passthrough_gs` now allows the user to force the generated GS
to always output a line strip from the primitive
regardless of whether edgeflags are present.

Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21238>
src/compiler/nir/nir.h
src/compiler/nir/nir_passthrough_gs.c
src/gallium/drivers/zink/zink_program.c