projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3368e0
)
i915: Enable ARB_direct_state_access
author
Fredrik Höglund
<fredrik@kde.org>
Sun, 10 May 2015 19:04:22 +0000
(21:04 +0200)
committer
Fredrik Höglund
<fredrik@kde.org>
Thu, 14 May 2015 13:48:18 +0000
(15:48 +0200)
This extension requires OpenGL 2.0, so enable it on gen3 and later.
Signed-off-by: Fredrik Höglund <fredrik@kde.org>
Reviewed-by: Adam Jackson <ajax@redhat.com>
src/mesa/drivers/dri/i915/intel_extensions.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i915/intel_extensions.c
b/src/mesa/drivers/dri/i915/intel_extensions.c
index ab7820f1232ebb0db60c8a14bd3c7c31f79c10ee..590c6efcccdc9727239ea5d3d034669c4a0689c1 100644
(file)
--- 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;