History log of /external/mesa3d/src/glsl/lower_mat_op_to_vec.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4f799e614264d2409fd32e3e3992405bb3fd924f 24-Jun-2011 Eric Anholt <eric@anholt.net> glsl: Use the default values of ir_assignment() in lower_mat_op_to_vec.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/glsl/lower_mat_op_to_vec.cpp
487dd96c2706aa352ed44637507dd7f38ac80306 24-Jun-2011 Eric Anholt <eric@anholt.net> glsl: Avoid making a temporary for lower_mat_op_to_vec if not needed.

Our copy propagation tends to be bad at handling the later array
accesses of the matrix argument we moved to a temporary. Generally we
don't need to move it to a temporary, though, so this avoids needing
more copy propagation complexity.

Reduces instruction count of some Unigine Tropics and Sanctuary
fragment shaders that do operations on uniform matrix arrays by 5.9%
on gen6.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/glsl/lower_mat_op_to_vec.cpp
8fad8637ef42ccd064a4f90b090d8096ab968e58 24-Jun-2011 Eric Anholt <eric@anholt.net> glsl: Make lower_mat_op_to_vec track derefs, not variables.

We were constrained to using temporaries because we were assuming
variables all over. This simplifies things a bit.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/glsl/lower_mat_op_to_vec.cpp
408377aed1dfae30605709fe1a134880a0386aa8 24-Jun-2011 Eric Anholt <eric@anholt.net> glsl: Rename lower_mat_op_to_vec operands/results to be less hungarian.

This awkward typing was to avoid shadowing the function argument (the
matrix) with the temporary deref (the column) before the
get_column()/get_element()s were moved into the expression/assignment
constructors. They're about to become not-variables, so the current
names had to go. This change is almost mechanical (other than
column_expr), so it should make the next diff clearer.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/glsl/lower_mat_op_to_vec.cpp
a47fd5c27de2b2d61776faa524f9b7ab1c915cde 24-Jun-2011 Eric Anholt <eric@anholt.net> glsl: Move get_{column,element} to expression args.

I think this makes the code more obvious by moving the declarations to
their single usage (now that we aren't using them to get at the ->type
field for expression constructors).

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/glsl/lower_mat_op_to_vec.cpp
e75b5954db52723a8590cd321b1998a079e9c1d4 24-Jun-2011 Eric Anholt <eric@anholt.net> glsl: Drop explicit types of lower_mat_op_to_vec expressions.

The constructor can figure it out for us these days.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/glsl/lower_mat_op_to_vec.cpp
497baf4e4a6a0a2f247c7bfb9bf69a2b93c2c19f 10-Feb-2011 Ian Romanick <ian.d.romanick@intel.com> Use C-style system headers in C++ code to avoid issues with std:: namespace
/external/mesa3d/src/glsl/lower_mat_op_to_vec.cpp
61c59234f916406512b3591f46599cc29a5d8e23 04-Feb-2011 Vinson Lee <vlee@vmware.com> glsl: Add using statements for standard library functions.

Standard library functions in C++ are in the std namespace. When using
C++-style header files for the standard library, some compilers, such as
Sun Studio, provide symbols only for the std namespace and not for the
global namespace.

This patch adds using statements for standard library functions. Another
option could have been to prepend standard library function calls with
'std::'.

This patch fixes several compilation errors with Sun Studio.
/external/mesa3d/src/glsl/lower_mat_op_to_vec.cpp
d3073f58c17d8675a2ecdd5dfa83e5520c78e1a8 21-Jan-2011 Kenneth Graunke <kenneth@whitecape.org> Convert everything from the talloc API to the ralloc API.
/external/mesa3d/src/glsl/lower_mat_op_to_vec.cpp
fc92e87b9757eda01caf0bb3e2c31b1dbbd73aa0 11-Nov-2010 Ian Romanick <ian.d.romanick@intel.com> glsl: Eliminate assumptions about size of ir_expression::operands

This may grow in the near future.
/external/mesa3d/src/glsl/lower_mat_op_to_vec.cpp
df883eb1575a740bf91e01cbe2eaa4dbc1f9f154 17-Nov-2010 Chad Versace <chad.versace@intel.com> glsl: Fix Doxygen tag \file in recently renamed files
/external/mesa3d/src/glsl/lower_mat_op_to_vec.cpp
32aaf89823de11e98cb59d5ec78c66cd3e74bcd4 15-Nov-2010 Kenneth Graunke <kenneth@whitecape.org> glsl: Rename various ir_* files to lower_* and opt_*.

This helps distinguish between lowering passes, optimization passes, and
other compiler code.
/external/mesa3d/src/glsl/lower_mat_op_to_vec.cpp