i965: Enable ARB_tessellation_shader on Gen8+.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 27 Jul 2015 21:19:31 +0000 (14:19 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 23 Dec 2015 01:22:14 +0000 (17:22 -0800)
Everything is in place and I'm not aware of any further issues.

Tested with:
- Piglit
- Tessmark
- Unigine Heaven
- Shadow of Mordor
- GRID Autosport

I have patches to backport this to Haswell, Ivybridge, and Baytrail as
well (the first Intel hardware to support tessellation), but there are
still a lot of GPU hangs left to debug.  So that will come later.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/drivers/dri/i965/intel_extensions.c

index 24761a70638399a94f4aec2f73d7b5abdd1aa1af..06672c1b4db9178013ec4f568b7c948931fdcf71 100644 (file)
@@ -362,6 +362,7 @@ intelInitExtensions(struct gl_context *ctx)
 
    if (brw->gen >= 8) {
       ctx->Extensions.ARB_stencil_texturing = true;
+      ctx->Extensions.ARB_tessellation_shader = true;
    }
 
    if (brw->gen >= 9) {