anv: emit 3DSTATE_GS only once per pipeline
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 2 Aug 2023 06:30:05 +0000 (09:30 +0300)
committerMarge Bot <emma+marge@anholt.net>
Sat, 12 Aug 2023 13:49:31 +0000 (13:49 +0000)
commitcf5ee0a0f724522d6e8b314ea023d1a505eed132
tree300cc19009449540216868589e7f7682f6bca2e3
parent8689791e1f48e0b47af976fa112cf17ab368f056
anv: emit 3DSTATE_GS only once per pipeline

Following 71ebd9b9d7, 3DSTATE_GS can be emitted as part of the
pipeline batch and as a dynamic state. Just do the latter.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 71ebd9b9d7 ("anv,hasvk: respect provoking vertex setting on geometry shaders")
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24632>
src/intel/vulkan/genX_cmd_buffer.c
src/intel/vulkan/genX_pipeline.c
src/intel/vulkan/gfx8_cmd_buffer.c