panfrost: Enable PIPE_CAP_VERTEX_COLOR_UNCLAMPED
authorIcecream95 <ixn@keemail.me>
Sun, 17 May 2020 04:26:00 +0000 (16:26 +1200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 20 May 2020 15:14:28 +0000 (15:14 +0000)
commitfaf28b83fddad6f12e536360690031b9ff2039c3
treeb1d33cbc04cc4b04e0127a4f211f05befe5cacb1
parent3725aa7b5dbea96a747ede0182a3c8a52d756948
panfrost: Enable PIPE_CAP_VERTEX_COLOR_UNCLAMPED

This tells Mesa to clamp vertex colours in the vertex shader.

This improves rendering in a number of games such as Extreme Tux
Racer and H-Craft Championships.

Cc: 20.1 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5075>
src/gallium/drivers/panfrost/pan_screen.c