mesa: Implement ARB_shader_viewport_layer_array for i965
authorDylan Baker <dylan@pnwbakers.com>
Mon, 19 Sep 2016 22:36:09 +0000 (15:36 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 20 Sep 2016 23:23:04 +0000 (16:23 -0700)
commitd4bf9baa43e2cf7b4b877141ee472779ced219bf
treee37f68c01f0cfcc5f866af2c81906d308b28842a
parent956f3e3bcd426b97a4d73d6903bbeb93ec4fd3f3
mesa: Implement ARB_shader_viewport_layer_array for i965

This extension is a combination of AMD_vertex_shader_viewport_index and
AMD_vertex_shader_layer, making it rather trivial to implement.

For gallium I *think* this needs a new cap because of the addition of
support in tessellation evaluation shaders, and since I don't have any
hardware to test it on, I've left that for someone else to wire up.

Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
docs/features.txt
docs/relnotes/12.1.0.html
src/compiler/glsl/builtin_variables.cpp
src/compiler/glsl/glsl_parser_extras.cpp
src/compiler/glsl/glsl_parser_extras.h
src/mesa/drivers/dri/i965/intel_extensions.c
src/mesa/main/extensions_table.h
src/mesa/main/mtypes.h