[Mesa-dev] [PATCH 53/57] i915: Enable ARB_direct_state_access

Fredrik Höglund fredrik at kde.org
Mon May 11 10:27:19 PDT 2015


This extension requires OpenGL 2.0, so enable the extension on
gen3 and later.

Signed-off-by: Fredrik Höglund <fredrik at kde.org>
---
 src/mesa/drivers/dri/i915/intel_extensions.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/drivers/dri/i915/intel_extensions.c b/src/mesa/drivers/dri/i915/intel_extensions.c
index ab7820f..590c6ef 100644
--- a/src/mesa/drivers/dri/i915/intel_extensions.c
+++ b/src/mesa/drivers/dri/i915/intel_extensions.c
@@ -83,6 +83,7 @@ intelInitExtensions(struct gl_context *ctx)
    if (intel->gen >= 3) {
       ctx->Extensions.ARB_ES2_compatibility = true;
       ctx->Extensions.ARB_depth_texture = true;
+      ctx->Extensions.ARB_direct_state_access = true;
       ctx->Extensions.ARB_fragment_program = true;
       ctx->Extensions.ARB_shadow = true;
       ctx->Extensions.ARB_texture_non_power_of_two = true;
-- 
2.1.4



More information about the mesa-dev mailing list