i965: enable ARB_shader_precision in gen7+
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Mon, 17 Oct 2016 14:40:06 +0000 (14:40 +0000)
committerFrancisco Jerez <currojerez@riseup.net>
Fri, 14 Apr 2017 23:13:21 +0000 (16:13 -0700)
Reviewed-by: Andreas Boll <andreas.boll.dev@gmail.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/mesa/drivers/dri/i965/intel_extensions.c

index 53b5eaf8a00b6d8d08d13d96de87bbe411fc0641..fc974b9860785f2dccabb8810e544343944e39b6 100644 (file)
@@ -216,6 +216,7 @@ intelInitExtensions(struct gl_context *ctx)
       ctx->Extensions.ARB_shader_clock = true;
       ctx->Extensions.ARB_shader_image_load_store = true;
       ctx->Extensions.ARB_shader_image_size = true;
+      ctx->Extensions.ARB_shader_precision = true;
       ctx->Extensions.ARB_shader_texture_image_samples = true;
       ctx->Extensions.ARB_tessellation_shader = true;
       ctx->Extensions.ARB_texture_compression_bptc = true;
@@ -245,7 +246,6 @@ intelInitExtensions(struct gl_context *ctx)
    }
 
    if (brw->gen >= 8 || brw->is_haswell) {
-      ctx->Extensions.ARB_shader_precision = true;
       ctx->Extensions.ARB_stencil_texturing = true;
       ctx->Extensions.ARB_texture_stencil8 = true;
       ctx->Extensions.OES_geometry_shader = true;