diff options
author | Dylan Baker <[email protected]> | 2016-09-19 15:36:09 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2016-09-20 16:23:04 -0700 |
commit | d4bf9baa43e2cf7b4b877141ee472779ced219bf (patch) | |
tree | e37f68c01f0cfcc5f866af2c81906d308b28842a /src/mesa/drivers/dri/i965/intel_extensions.c | |
parent | 956f3e3bcd426b97a4d73d6903bbeb93ec4fd3f3 (diff) |
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 <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_extensions.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_extensions.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c index b1aefc0f928..2eb155415d9 100644 --- a/src/mesa/drivers/dri/i965/intel_extensions.c +++ b/src/mesa/drivers/dri/i965/intel_extensions.c @@ -330,6 +330,7 @@ intelInitExtensions(struct gl_context *ctx) */ if (ctx->API == API_OPENGL_CORE) { ctx->Extensions.ARB_shader_subroutine = true; + ctx->Extensions.ARB_shader_viewport_layer_array = true; ctx->Extensions.ARB_viewport_array = true; ctx->Extensions.AMD_vertex_shader_viewport_index = true; } |