i965/nir: Enable NIR lowering of txf and rect offsets
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 21 Jul 2016 19:55:21 +0000 (12:55 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 22 Jul 2016 23:48:54 +0000 (16:48 -0700)
commit9f32721f8695f3e55849dce015da3b53d1af5d57
tree84783e1f0dbd4ffb2da682f5f8dfeb75ae4cf7eb
parentd9156efc5292b4ac7cea9d12e68882fc7b5da5fd
i965/nir: Enable NIR lowering of txf and rect offsets

This fixes the following piglit tests on gen6+:

tex-miplevel-selection textureProjGradOffset 2DRect
tex-miplevel-selection textureGradOffset 2DRect
tex-miplevel-selection textureGradOffset 2DRectShadow
tex-miplevel-selection textureProjGradOffset 2DRect_ProjVec4
tex-miplevel-selection textureProjGradOffset 2DRectShadow

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: "12.0" <mesa-dev@lists.freedesktop.org>
src/mesa/drivers/dri/i965/brw_nir.c