zink: update psiz handling to fix xfb output
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 3 Feb 2022 15:22:34 +0000 (10:22 -0500)
committerMarge Bot <emma+marge@anholt.net>
Mon, 28 Feb 2022 15:42:20 +0000 (15:42 +0000)
commitfba13486df5acd7c5f5c3407d2085448f592c3b4
tree9fe5a3de52b858e0ac7b4ba67e60dced2fb9d78a
parentb28cff9f4a7524bd4188278cbe9058ec98e8c40b
zink: update psiz handling to fix xfb output

now when gl_PointSize and gl_PointSizeMESA are both present, the former
will be used for xfb with a new location and the latter will be
exported by the shader

fixes (zink):
GTF-GL46.gtf30.GL3Tests.transform_feedback.transform_feedback_builtins

Acked-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15184>
src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c
src/gallium/drivers/zink/zink_compiler.c