radv/ac: fix texture derivative ordering
authorDave Airlie <airlied@redhat.com>
Sun, 19 Mar 2017 03:39:29 +0000 (13:39 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 3 Apr 2017 19:39:10 +0000 (05:39 +1000)
commit1e9e747d001dc6d61f11487090408a570c9ceddf
treeabda5705b2deaca2d1f271e6dfe2f46012c367f1
parent303d22f319dadfaeba3cb49da8fc52eaa22ce2cd
radv/ac: fix texture derivative ordering

The ordering NIR gives us is correct for the hw, this fixes:
dEQP-VK.glsl.texture_functions.texturegrad.* (mainly trigged
on isampler/usampler 3d textures.).

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