aco: fix load_barycentric_at_{sample,offset} on GFX6-7
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 22 Apr 2022 13:15:33 +0000 (15:15 +0200)
committerMarge Bot <emma+marge@anholt.net>
Mon, 25 Apr 2022 07:17:39 +0000 (07:17 +0000)
commit6873da0e42182520a38a6f88abb3717eea12d774
treedfbe4d6603832de437bc361114eb0af7ea87cc41
parent9662f9bcdcebeb9e5843baddd2d67cb1f3dad42b
aco: fix load_barycentric_at_{sample,offset} on GFX6-7

The computation was wrong.

Fixes dEQP-GLES31.functional.shaders.multisample_interpolation.interpolate_at_offset.*
with Zink on GFX6 (Pitcairn).

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16099>
src/amd/compiler/aco_instruction_selection.cpp