diff options
author | Matt Turner <mattst88@gmail.com> | 2014-01-03 14:48:53 -0800 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2014-01-21 14:20:44 -0800 |
commit | ebf91993c18bdf90c4699b42e58cb84d0b160f25 (patch) | |
tree | 71fcd30c9ab5afc04c16327098f19c0f1e5f50a6 /src/mesa/drivers/dri/radeon | |
parent | 413622fbefb63c54d331ce5d708479ab847e6709 (diff) |
mesa: rename PreferDP4 to OptimizeForAOS.
This flag was really just a proxy for determining whether the backend
was vector (AOS) or scalar (SOA). It will be used to apply a future
optimization only for vector backends.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'src/mesa/drivers/dri/radeon')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_context.c b/src/mesa/drivers/dri/radeon/radeon_context.c index 66ba229e030..0757f7ec4ad 100644 --- a/src/mesa/drivers/dri/radeon/radeon_context.c +++ b/src/mesa/drivers/dri/radeon/radeon_context.c @@ -301,7 +301,7 @@ r100CreateContext( gl_api api, ctx->Const.MaxColorAttachments = 1; ctx->Const.MaxRenderbufferSize = 2048; - ctx->ShaderCompilerOptions[MESA_SHADER_VERTEX].PreferDP4 = true; + ctx->ShaderCompilerOptions[MESA_SHADER_VERTEX].OptimizeForAOS = true; /* Install the customized pipeline: */ |