i965: write layer if gl_Layer is used in VS
authorJordan Justen <jordan.l.justen@intel.com>
Wed, 17 Apr 2013 23:17:50 +0000 (16:17 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Mon, 13 May 2013 20:57:57 +0000 (13:57 -0700)
commita16a2d7147865634d68151d681a399f669146ff1
tree9aafe938d95f7f135f192db067e25478b5fd06d6
parent220f70667dacc37f0e5cb871f6054214519d191f
i965: write layer if gl_Layer is used in VS

This is enabled by the AMD_vertex_shader_layer extension.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp