diff options
author | Ilia Mirkin <[email protected]> | 2014-07-02 15:49:39 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2014-07-02 21:59:41 -0400 |
commit | 7666a9f4ae3a058882a0aff66c8bf92c3da498f0 (patch) | |
tree | 674ff64da6d4cc3b4e25077b8d379b99e0ff501d /src/mesa/drivers | |
parent | df61553070319660bd6a74f1ae6b251700dd17db (diff) |
i965: expose AMD_vertex_shader_viewport_index on gen7+
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Chris Forbes <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_extensions.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c index 281d6c4b3f9..fe4006882d2 100644 --- a/src/mesa/drivers/dri/i965/intel_extensions.c +++ b/src/mesa/drivers/dri/i965/intel_extensions.c @@ -297,8 +297,10 @@ intelInitExtensions(struct gl_context *ctx) /* Only enable this in core profile because other parts of Mesa behave * slightly differently when the extension is enabled. */ - if (ctx->API == API_OPENGL_CORE) + if (ctx->API == API_OPENGL_CORE) { ctx->Extensions.ARB_viewport_array = true; + ctx->Extensions.AMD_vertex_shader_viewport_index = true; + } } if (brw->gen >= 8) { |