anv: don't skip the VUE header if we are reading gl_Layer in a fragment shader
authorIago Toral Quiroga <itoral@igalia.com>
Thu, 5 Jan 2017 12:17:53 +0000 (13:17 +0100)
committerIago Toral Quiroga <itoral@igalia.com>
Mon, 9 Jan 2017 10:43:07 +0000 (11:43 +0100)
commit566a0c43f0b9fbf5106161471dd5061c7275f761
treec8fd58c2d28c60767de579d43ea15c5fb03e8c6d
parent0449c93638e74cc0d04986664c0b8b7ec2615893
anv: don't skip the VUE header if we are reading gl_Layer in a fragment shader

This is the same we do in the GL driver: the hardware provides gl_Layer
in the VUE header, so when the fragment shader reads it we can't skip it.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/genX_pipeline.c