diff options
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_extensions.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c index b8d75170d94..c392674f26c 100644 --- a/src/mesa/drivers/dri/i965/intel_extensions.c +++ b/src/mesa/drivers/dri/i965/intel_extensions.c @@ -379,6 +379,14 @@ intelInitExtensions(struct gl_context *ctx) ctx->Extensions.ARB_query_buffer_object = true; } + if (brw->gen >= 8 || brw->is_baytrail) { + /* For now, we only enable OES_copy_image on platforms that support + * ETC2 natively in hardware. We would need more hacks to support it + * elsewhere. + */ + ctx->Extensions.OES_copy_image = true; + } + if (brw->gen >= 8) { ctx->Extensions.ARB_shader_precision = true; ctx->Extensions.ARB_stencil_texturing = true; |