i965: Enable ARB_vertex_type_10f_11f_11f_rev on Gen6+.
authorChris Forbes <chrisf@ijw.co.nz>
Thu, 7 Nov 2013 08:26:15 +0000 (21:26 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Thu, 7 Nov 2013 20:10:06 +0000 (09:10 +1300)
This theoretically works on earlier hardware as well, but the extension
requires at least GL3.0.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/intel_extensions.c

index 5eae84fe6d713785b0e12105e1e818fac9b0b302..fbda424075067199767d50204cd3e9f0e7d21003 100644 (file)
@@ -210,6 +210,7 @@ intelInitExtensions(struct gl_context *ctx)
       ctx->Extensions.ARB_shading_language_packing = true;
       ctx->Extensions.ARB_texture_multisample = true;
       ctx->Extensions.ARB_sample_shading = true;
+      ctx->Extensions.ARB_vertex_type_10f_11f_11f_rev = true;
 
       /* Test if the kernel has the ioctl. */
       if (drm_intel_reg_read(brw->bufmgr, TIMESTAMP, &dummy) == 0)