radeonsi: use better sample locations for 4x MSAA
authorMarek Olšák <marek.olsak@amd.com>
Wed, 2 May 2018 02:45:24 +0000 (22:45 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 10 May 2018 22:28:12 +0000 (18:28 -0400)
commit01fd543c82eb44a7d69e69ba1678a0fcce76f09d
tree715865d1964ad9e9e6c93f585d6b970406977d1f
parent8d8b71ccfae669690988cae3f41e228cb07324c1
radeonsi: use better sample locations for 4x MSAA

Discovered by luck. Verified with the piglit MSAA accuracy test.
It also shows that the worst case EQAA 16s4f results in very good 4x MSAA
in the worst case.

Nine might not like these positions, but they are prettier to the eye and
GL doesn't care.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_state_msaa.c