diff options
author | Eric Anholt <[email protected]> | 2010-07-02 11:27:06 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-07-02 11:27:06 -0700 |
commit | 9a0e421983edc31371440c08687fa2bb2207924d (patch) | |
tree | 95b2cab4e5f98cb61c5e4a8075186289f8526f08 /src/glsl/Makefile | |
parent | 667f4e1940c4c4660e35dc9906672a476369660f (diff) |
glsl2: Add a pass to break ir_binop_div to _mul and _rcp.
This results in constant folding of a constant divisor.
Diffstat (limited to 'src/glsl/Makefile')
-rw-r--r-- | src/glsl/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/Makefile b/src/glsl/Makefile index a709bf7121e..30ba475d923 100644 --- a/src/glsl/Makefile +++ b/src/glsl/Makefile @@ -33,6 +33,7 @@ CXX_SOURCES = \ ir.cpp \ ir_dead_code.cpp \ ir_dead_code_local.cpp \ + ir_div_to_mul_rcp.cpp \ ir_expression_flattening.cpp \ ir_function_can_inline.cpp \ ir_function.cpp \ |