radv: do not remove the PointSize built-in for polygon mode as points
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 12 Dec 2022 13:13:46 +0000 (14:13 +0100)
committerEric Engestrom <eric@engestrom.ch>
Wed, 14 Dec 2022 20:47:02 +0000 (20:47 +0000)
commita8911c50c81c025e733e7ff2c19b8275f827ff60
tree517c367e5a20a9e0f35f1ddf7b6cc550faa90d25
parenta9b3fee4b037ff43ce957b0bddc5ed3b0a7d7952
radv: do not remove the PointSize built-in for polygon mode as points

Determine if it can be removed when generating the graphics pipeline
key because of dynamic states.

Fixes new CTS dEQP-VK.rasterization.polygon_as_large_points.* and also
spec@!opengl 1.1@polygon-offset with Zink/RADV.

Cc: 22.3 mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20073>
(cherry picked from commit b4f940913d386bad0e25a1e224d0f39631124593)
.pick_status.json
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_shader.h
src/gallium/drivers/zink/ci/zink-radv-fails.txt