[Mesa-dev] [PATCH 9/9] i965: Expose shader framebuffer fetch extensions on Gen9+.
Francisco Jerez
currojerez at riseup.net
Thu Jul 28 21:50:16 UTC 2016
---
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 12bf454..33114db 100644
--- a/src/mesa/drivers/dri/i965/intel_extensions.c
+++ b/src/mesa/drivers/dri/i965/intel_extensions.c
@@ -280,7 +280,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) {
@@ -399,6 +399,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)
--
2.9.0
More information about the mesa-dev
mailing list