i965/nir: enable lowering of texture gradient for shadow samplers
authorIago Toral Quiroga <itoral@igalia.com>
Tue, 13 Dec 2016 09:24:19 +0000 (10:24 +0100)
committerIago Toral Quiroga <itoral@igalia.com>
Tue, 13 Dec 2016 09:33:14 +0000 (10:33 +0100)
commit77f65b3b643d135a5eab3799a600302177dccb26
tree6f2822f693155fc336d49c176ca35f9a6052bc0a
parent5be2e785b1df2160424eb73e53cca340e0130020
i965/nir: enable lowering of texture gradient for shadow samplers

This gets the lowering on the Vulkan driver too, which is required for
hardware that does not have the sample_l_d message (up to IvyBridge).

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