OSDN Git Service

radv: fix interp at sample code.
authorDave Airlie <airlied@redhat.com>
Mon, 3 Apr 2017 03:43:15 +0000 (04:43 +0100)
committerDave Airlie <airlied@redhat.com>
Mon, 3 Apr 2017 19:55:21 +0000 (05:55 +1000)
commit22b116171f88f2dcb1be2a5ea6cd64c0731670e9
tree556935e0227f19b62d89d9d38c8bad03af34988f
parent1171b304f30f77b6780891b2b0561b52234a1ec5
radv: fix interp at sample code.

Interp at sample needs to use the center, since the sample
positions it retrieves are relative to the center.

This fixes a bunch of CTS tests with multisample_interpolation.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_nir_to_llvm.c