History log of /external/mesa3d/src/glsl/ir_hierarchical_visitor.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
807e967c615dc80a264af5a89af7649f95481744 23-Sep-2011 Kenneth Graunke <kenneth@whitecape.org> glsl: Use ir_rvalue to represent generic error_type values.

Currently, ir_call can be used as either a statement (for void
functions) or a value (for non-void functions). This is rather awkward,
as it's the only class that can be used in both forms.

A number of places use ir_call::get_error_instruction() to construct a
generic value of error_type. If ir_call is to become a statement, it
can no longer serve this purpose.

Unfortunately, none of our classes are particularly well suited for
this, and creating a new one would be rather aggrandizing. So, this
patch introduces ir_rvalue::error_value(), a static method that creates
an instance of the base class, ir_rvalue. This has the nice property
that you can't accidentally try and access uninitialized fields (as it
doesn't have any). The downside is that the base class is no longer
abstract.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/glsl/ir_hierarchical_visitor.cpp
c8ee8e07f7cc8f18d367ffcec065b45f8a6976f4 06-Aug-2010 Ian Romanick <ian.d.romanick@intel.com> glsl2: Set a flag when visiting the assignee of an assignment
/external/mesa3d/src/glsl/ir_hierarchical_visitor.cpp
352e62c3c26c75ddce1345962339f78c64d0aa95 19-Aug-2010 Vinson Lee <vlee@vmware.com> glsl: Fix uninitialized member in ir_hierarchical_vistor constructor.

Class member base_ir was not initialized by the default constructor.
/external/mesa3d/src/glsl/ir_hierarchical_visitor.cpp
8a1f186cc55979bb9df0a88b48da8d81460c3e7c 01-Jul-2010 Eric Anholt <eric@anholt.net> glsl2: Add a pass to convert mod(a, b) to b * fract(a/b).

This is used by the Mesa IR backend to implement mod, fixing glsl-fs-mod.
/external/mesa3d/src/glsl/ir_hierarchical_visitor.cpp
16efab1c4dee6e6a827ba5f1c482378159545ae5 30-Jun-2010 Kenneth Graunke <kenneth@whitecape.org> glsl2: Define new ir_discard instruction.
/external/mesa3d/src/glsl/ir_hierarchical_visitor.cpp
29285882676388aacff123e8bdf025904abf8ea9 25-Jun-2010 Eric Anholt <eric@anholt.net> glsl2: Move the compiler to the subdirectory it will live in in Mesa.
/external/mesa3d/src/glsl/ir_hierarchical_visitor.cpp