aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-08-23 09:56:31 -0700
committerEric Anholt <[email protected]>2012-08-26 10:40:33 -0700
commit9a2943ddf28eee417b692d9338b81aa89a51dea8 (patch)
tree3ab59c0a13e465b4bebc82b3ec2bc100856ab7c1 /src/mesa/drivers/dri
parentb765119c5d2cd41a7f47cce10fd1fdbcf162b03d (diff)
i965: Add support for GL_ARB_occlusion_query2.
This extension is just a bit of core code on top of the GL_ARB_occlusion_query support. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rwxr-xr-xsrc/mesa/drivers/dri/intel/intel_extensions.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_extensions.c b/src/mesa/drivers/dri/intel/intel_extensions.c
index 9065f3855ce..df7abff3d96 100755
--- a/src/mesa/drivers/dri/intel/intel_extensions.c
+++ b/src/mesa/drivers/dri/intel/intel_extensions.c
@@ -124,6 +124,7 @@ intelInitExtensions(struct gl_context *ctx)
ctx->Extensions.ARB_fragment_shader = true;
ctx->Extensions.ARB_half_float_vertex = true;
ctx->Extensions.ARB_occlusion_query = true;
+ ctx->Extensions.ARB_occlusion_query2 = true;
ctx->Extensions.ARB_point_sprite = true;
ctx->Extensions.ARB_seamless_cube_map = true;
ctx->Extensions.ARB_shader_bit_encoding = true;