i965: Enable ARB_texture_stencil8 for Haswell
authorJordan Justen <jordan.l.justen@intel.com>
Tue, 14 Jun 2016 22:57:49 +0000 (15:57 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Fri, 26 Aug 2016 17:09:22 +0000 (10:09 -0700)
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/intel_extensions.c

index be004a20e784e41eef55149e4382ace2b3bcdf56..15009b08ca860212425f39f2f6ccf0a6c0b423cb 100644 (file)
@@ -375,6 +375,7 @@ intelInitExtensions(struct gl_context *ctx)
 
    if (brw->gen >= 8 || brw->is_haswell) {
       ctx->Extensions.ARB_stencil_texturing = true;
+      ctx->Extensions.ARB_texture_stencil8 = true;
    }
 
    if (brw->gen >= 8 || brw->is_haswell || brw->is_baytrail) {
@@ -395,7 +396,6 @@ intelInitExtensions(struct gl_context *ctx)
 
    if (brw->gen >= 8) {
       ctx->Extensions.ARB_shader_precision = true;
-      ctx->Extensions.ARB_texture_stencil8 = true;
       ctx->Extensions.ARB_gpu_shader_fp64 = true;
       ctx->Extensions.ARB_vertex_attrib_64bit = true;
       ctx->Extensions.OES_shader_io_blocks = true;