projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea47781
)
i965: Enable ARB_texture_view on Gen7
author
Chris Forbes
<chrisf@ijw.co.nz>
Sat, 15 Feb 2014 03:26:20 +0000
(16:26 +1300)
committer
Chris Forbes
<chrisf@ijw.co.nz>
Thu, 10 Apr 2014 06:27:42 +0000
(18:27 +1200)
V4: Don't enable this for Gen8 yet -- that still needs wired up.
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/intel_extensions.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/intel_extensions.c
b/src/mesa/drivers/dri/i965/intel_extensions.c
index 760b60595d5b0858b9c90ec148463d4c44529e6d..892a04801cfdef69b17118d8f9a639d77b3f1333 100644
(file)
--- a/
src/mesa/drivers/dri/i965/intel_extensions.c
+++ b/
src/mesa/drivers/dri/i965/intel_extensions.c
@@
-303,6
+303,10
@@
intelInitExtensions(struct gl_context *ctx)
ctx->Extensions.ARB_compute_shader = true;
}
+ if (brw->gen == 7) {
+ ctx->Extensions.ARB_texture_view = true;
+ }
+
if (brw->gen >= 8) {
ctx->Extensions.ARB_stencil_texturing = true;
}