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/glsl | |
parent | 413622fbefb63c54d331ce5d708479ab847e6709 (diff) | |
download | external_mesa3d-ebf91993c18bdf90c4699b42e58cb84d0b160f25.zip external_mesa3d-ebf91993c18bdf90c4699b42e58cb84d0b160f25.tar.gz external_mesa3d-ebf91993c18bdf90c4699b42e58cb84d0b160f25.tar.bz2 |
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/glsl')
-rw-r--r-- | src/glsl/glsl_parser_extras.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/glsl_parser_extras.cpp b/src/glsl/glsl_parser_extras.cpp index ddb3d2d..35d5679 100644 --- a/src/glsl/glsl_parser_extras.cpp +++ b/src/glsl/glsl_parser_extras.cpp @@ -1561,7 +1561,7 @@ do_common_optimization(exec_list *ir, bool linked, progress = do_copy_propagation(ir) || progress; progress = do_copy_propagation_elements(ir) || progress; - if (options->PreferDP4 && !linked) + if (options->OptimizeForAOS && !linked) progress = opt_flip_matrices(ir) || progress; if (linked) |