crocus: only clamp point size on last stage.
authorDave Airlie <airlied@redhat.com>
Thu, 30 Dec 2021 23:42:11 +0000 (09:42 +1000)
committerMarge Bot <emma+marge@anholt.net>
Tue, 18 Jan 2022 22:53:45 +0000 (22:53 +0000)
commitfbcbbae6620d1d7a348a39f9c515c7bd6f28f042
treefa961059c336d42c4c09c7c1adbd3f467388ca74
parentf9f7f326faf74224dab7fdcbed54f9ce00698a48
crocus: only clamp point size on last stage.

This fixes a regression in tests that pass unclamped point size
values between stages.

This keeps xfb broken since the real way it should work is to have
the hw clamp after xfb, but this seems the least evil path.

Fixes: 3077d9685682 ("crocus: Clamp VS point sizes to the HW limits as required.")
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14359>
src/gallium/drivers/crocus/ci/crocus-hsw-fails.txt
src/gallium/drivers/crocus/crocus_program.c
src/gallium/drivers/crocus/crocus_state.c