diff options
author | Ian Romanick <[email protected]> | 2016-11-08 10:10:35 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2017-01-06 12:42:43 -0800 |
commit | 1472ff35914fb50c8b49a4f8678c76327e7da75c (patch) | |
tree | ae8d37a1a27aaa167b97cc9f7ccc9e8cacf7051a /src/mesa/drivers | |
parent | 90c51ccf82e04d06aa63aea49121165b7f2e8991 (diff) |
i965: Enable several GLES 3.1 extensions on HSW+
The only reason we didn't previously enable this was the dependency on
OpenGL ES 3.1. These should have been enabled as soon as HSW got
stencil texturing. We also needed to fixup setting MaxViewports.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_extensions.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c index 22651de90e5..915797a58a5 100644 --- a/src/mesa/drivers/dri/i965/intel_extensions.c +++ b/src/mesa/drivers/dri/i965/intel_extensions.c @@ -242,6 +242,9 @@ intelInitExtensions(struct gl_context *ctx) if (brw->gen >= 8 || brw->is_haswell) { ctx->Extensions.ARB_stencil_texturing = true; ctx->Extensions.ARB_texture_stencil8 = true; + ctx->Extensions.OES_geometry_shader = true; + ctx->Extensions.OES_texture_cube_map_array = true; + ctx->Extensions.OES_viewport_array = true; } if (brw->gen >= 8 || brw->is_haswell || brw->is_baytrail) { @@ -265,9 +268,6 @@ intelInitExtensions(struct gl_context *ctx) ctx->Extensions.ARB_shader_precision = true; ctx->Extensions.ARB_vertex_attrib_64bit = true; ctx->Extensions.ARB_ES3_2_compatibility = true; - ctx->Extensions.OES_geometry_shader = true; - ctx->Extensions.OES_texture_cube_map_array = true; - ctx->Extensions.OES_viewport_array = true; } if (brw->gen >= 9) { |