From da85b5a9f1b22a8f6cae1a3b335dc5f31011bcb1 Mon Sep 17 00:00:00 2001 From: Francisco Jerez Date: Fri, 22 Jul 2016 15:52:49 -0700 Subject: i965: Expose shader framebuffer fetch extensions on Gen9+. Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/intel_extensions.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c index 702c40c0f0e..5092da58f53 100644 --- a/src/mesa/drivers/dri/i965/intel_extensions.c +++ b/src/mesa/drivers/dri/i965/intel_extensions.c @@ -281,7 +281,7 @@ intelInitExtensions(struct gl_context *ctx) ctx->Extensions.EXT_shader_integer_mix = ctx->Const.GLSLVersion >= 130; ctx->Extensions.MESA_shader_integer_functions = ctx->Const.GLSLVersion >= 130; - if ((brw->is_g4x || brw->gen >= 5) && brw->gen < 9) + if (brw->is_g4x || brw->gen >= 5) ctx->Extensions.MESA_shader_framebuffer_fetch_non_coherent = true; if (brw->gen >= 5) { @@ -400,6 +400,7 @@ intelInitExtensions(struct gl_context *ctx) ctx->Extensions.KHR_texture_compression_astc_ldr = true; ctx->Extensions.KHR_texture_compression_astc_sliced_3d = true; ctx->Extensions.ARB_shader_stencil_export = true; + ctx->Extensions.MESA_shader_framebuffer_fetch = true; } if (ctx->API == API_OPENGL_CORE) -- cgit v1.2.3