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

Kenneth Graunke kenneth at whitecape.org
Wed Jan 15 08:02:10 PST 2014


On 01/08/2014 12:43 PM, Matt Turner wrote:
> ---
>  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;
>  }
>  
>  /**
> 

Patches 2 and 5 are:
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

I sadly haven't had time to review the patches of substance (3 and 4)
yet.  Ian's review is probably sufficient though, so you don't need to
wait for me or anything.


More information about the mesa-dev mailing list