projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bd6e0d
)
i965: Enable AOS optimizations for the geometry shader.
author
Matt Turner
<mattst88@gmail.com>
Fri, 3 Jan 2014 22:52:55 +0000
(14:52 -0800)
committer
Matt Turner
<mattst88@gmail.com>
Tue, 21 Jan 2014 22:20:44 +0000
(14:20 -0800)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_context.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_context.c
b/src/mesa/drivers/dri/i965/brw_context.c
index f9dc068fb7fd0a13d8e61b7768772abab95ab17d..fd0ea547dbd094c4fef1405efa42cb3bec19f94c 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_context.c
+++ b/
src/mesa/drivers/dri/i965/brw_context.c
@@
-474,6
+474,7
@@
brw_initialize_context_constants(struct brw_context *brw)
}
ctx->ShaderCompilerOptions[MESA_SHADER_VERTEX].OptimizeForAOS = true;
+ ctx->ShaderCompilerOptions[MESA_SHADER_GEOMETRY].OptimizeForAOS = true;
/* ARB_viewport_array */
if (brw->gen >= 7 && ctx->API == API_OPENGL_CORE) {