HomePhabricator
Diffusion Mesa 73df16dcee79

radv: fix centroid interpolation

Authored by hakzsam on May 21 2018, 11:15 AM.

Description

radv: fix centroid interpolation

It's legal to set the centroid and sample interpolation modes
when MSAA disabled. So, we have to initialize the centroid
inputs because the hardware doesn't.

This fixes rendering issues with DXVK and The Witness, World of
Warcraft, Trackmania and probably more games.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106315
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102390
CC: 18.0 18.1 <mesa-stable@lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>

Details

Committed
hakzsamMay 21 2018, 1:57 PM
Pushed
pmoreauMay 22 2018, 7:03 PM
Parents
rMESAf26b008e283e: radv: Cleanup unused prime blit path.
Branches
Unknown
Tags
Unknown