i965: Enable AOS optimizations for the geometry shader.
authorMatt Turner <mattst88@gmail.com>
Fri, 3 Jan 2014 22:52:55 +0000 (14:52 -0800)
committerMatt 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

index f9dc068fb7fd0a13d8e61b7768772abab95ab17d..fd0ea547dbd094c4fef1405efa42cb3bec19f94c 100644 (file)
@@ -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) {