zink: fix pointcoord y inversion
authorSoroushIMG <soroush.kashani@imgtec.com>
Wed, 1 Feb 2023 20:37:26 +0000 (20:37 +0000)
committerMarge Bot <emma+marge@anholt.net>
Tue, 7 Feb 2023 18:07:19 +0000 (18:07 +0000)
commit782f1e9e010452850853b9791e673f2e1a7a671e
treea18f944957a66b26c4dd81daea262af6b41a0e40
parent6ace3d6cf060cbe86c3f7b8ba22a9c4395837ee8
zink: fix pointcoord y inversion

Point sprite coordinates in general need to be inverted,
not just the texcoords converted to point sprite.

Move point coord y inversion out to its own pass.
Fixes GTF-GL46.gtf21.GL2FixedTests.point_sprites.point_sprites
with FBO dEQP surface.

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21050>
src/gallium/drivers/zink/ci/zink-anv-tgl-fails.txt
src/gallium/drivers/zink/ci/zink-lvp-fails.txt
src/gallium/drivers/zink/ci/zink-radv-navi10-fails.txt
src/gallium/drivers/zink/ci/zink-radv-vangogh-fails.txt
src/gallium/drivers/zink/zink_compiler.c
src/gallium/drivers/zink/zink_program.h
src/gallium/drivers/zink/zink_shader_keys.h