intel: Enable GL_OES_depth_texture_cube_map
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 18 Jan 2013 23:44:38 +0000 (15:44 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 21 Jan 2013 01:56:23 +0000 (20:56 -0500)
For now I'm just enabling this on the same subset of hardware that has
OpenGL 3.0 enabled.  This same functionality is part of OpenGL 3.0, and
there is no matching desktop extension.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/intel/intel_extensions.c

index 8fed883d9cc7156372c08692de2ed1da17cf652d..1562f59d86d4428e9c484c11d1b1fcead5e7ec48 100755 (executable)
@@ -106,6 +106,7 @@ intelInitExtensions(struct gl_context *ctx)
       ctx->Extensions.ARB_texture_buffer_object = true;
       ctx->Extensions.ARB_texture_buffer_object_rgb32 = true;
       ctx->Extensions.ARB_texture_cube_map_array = true;
+      ctx->Extensions.OES_depth_texture_cube_map = true;
    }
 
    if (intel->gen >= 5)