i965/nir: enable lowering of texture gradient for cube maps
authorIago Toral Quiroga <itoral@igalia.com>
Wed, 30 Nov 2016 08:44:20 +0000 (09:44 +0100)
committerIago Toral Quiroga <itoral@igalia.com>
Tue, 13 Dec 2016 09:32:46 +0000 (10:32 +0100)
commitf90da64fc65d8da99a5a5a140be7b64c8cf5ee6a
treedb719f26915a17e4c4be5e3a9e4c39a8ca26932a
parenta8e740c3547b0209d04b505d95a79794db31ce0b
i965/nir: enable lowering of texture gradient for cube maps

This gets the lowering on the Vulkan driver too.

Fixes Vulkan CTS cube map texture gradient tests in:
dEQP-VK.glsl.texture_functions.texturegrad.*

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_nir.c