[Mesa-dev] [PATCH 5/5] i965: Enable AOS optimizations for the geometry shader.

Matt Turner mattst88 at gmail.com
Wed Jan 8 12:43:28 PST 2014


---
 src/mesa/drivers/dri/i965/brw_context.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
index da34e3d..3da328a 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -479,6 +479,7 @@ brw_initialize_context_constants(struct brw_context *brw)
    }
 
    ctx->ShaderCompilerOptions[MESA_SHADER_VERTEX].OptimizeForAOS = true;
+   ctx->ShaderCompilerOptions[MESA_SHADER_GEOMETRY].OptimizeForAOS = true;
 }
 
 /**
-- 
1.8.3.2



More information about the mesa-dev mailing list