From: Samuel Iglesias Gonsálvez Date: Mon, 17 Oct 2016 14:40:06 +0000 (+0000) Subject: i965: enable ARB_shader_precision in gen7+ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=92d4dc76eaec64e99194f3d2afcc55eb7c7b46ba;p=mesa.git i965: enable ARB_shader_precision in gen7+ Reviewed-by: Andreas Boll Reviewed-by: Francisco Jerez --- diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c index 53b5eaf8a00..fc974b98607 100644 --- a/src/mesa/drivers/dri/i965/intel_extensions.c +++ b/src/mesa/drivers/dri/i965/intel_extensions.c @@ -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;