i965: Expose EXT_base_instance extension in OpenGLES 3.0
The extension requires at least OpenGL 3.0 and OpenGL ES 3.0. Fixes two ext_base_instance tests: arb_base_instance-baseinstance-doesnt-affect-gl-instance-id_gles3 arb_base_instance-drawarrays_gles3 Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
This commit is contained in:
committed by
Jordan Justen
parent
3665f66ef2
commit
29dd5dda9d
@@ -315,7 +315,7 @@ intelInitExtensions(struct gl_context *ctx)
|
||||
if (devinfo->gen >= 6)
|
||||
ctx->Extensions.INTEL_performance_query = true;
|
||||
|
||||
if (ctx->API == API_OPENGL_CORE)
|
||||
if (ctx->API != API_OPENGL_COMPAT)
|
||||
ctx->Extensions.ARB_base_instance = true;
|
||||
if (ctx->API != API_OPENGL_CORE)
|
||||
ctx->Extensions.ARB_color_buffer_float = true;
|
||||
|
||||
Reference in New Issue
Block a user