diff options
author | Francisco Jerez <[email protected]> | 2016-07-22 15:52:49 -0700 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2016-08-25 18:36:09 -0700 |
commit | da85b5a9f1b22a8f6cae1a3b335dc5f31011bcb1 (patch) | |
tree | a6e5ebf86138a5856b06c1fdbed505960bbafd1a /src | |
parent | 4135fc22ff735a40c36fcf051c1735fe23d154f2 (diff) |
i965: Expose shader framebuffer fetch extensions on Gen9+.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_extensions.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) |