radv/ac: refactor our fmask sample index fixup.
authorDave Airlie <airlied@redhat.com>
Thu, 23 Feb 2017 02:20:25 +0000 (12:20 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 24 Feb 2017 00:31:49 +0000 (10:31 +1000)
commit8282c5c7710fb56231ea0e1b9d7b0f9295230e15
tree29436ee826b5651b3176dbba42f390384ef04d8a
parent5e9ead0fa21eb2e3dfaca5485990110e17cc7b79
radv/ac: refactor our fmask sample index fixup.

This refactors out the sample index fixup between
txf and image load.

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