radeonsi: fix centroid with VRS coarse shading
authorMarek Olšák <marek.olsak@amd.com>
Tue, 26 Jan 2021 20:26:18 +0000 (15:26 -0500)
committerMarge Bot <eric+marge@anholt.net>
Thu, 28 Jan 2021 00:14:32 +0000 (00:14 +0000)
commitdbf09c0c26dda7296322491c35fce02f3147dfa9
tree48aabc47032108d5506aa524ca556fa0ee8beec0
parentbe8d811e57973e9d3632f90e47fda1f5c24ca379
radeonsi: fix centroid with VRS coarse shading

This has no effect on other shading. It should have been the default value.

Fixes: c3432ad8524 - radeonsi: add an option to enable 2x2 coarse shading for non-GUI elements

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8726>
src/gallium/drivers/radeonsi/si_state.c