summaryrefslogtreecommitdiff
path: root/src/glsl/ir_explog_to_explog2.cpp
AgeCommit message (Collapse)Author
2010-08-05glsl2: Add a pass to convert exp and log to exp2 and log2.Eric Anholt
Fixes ir_to_mesa handling of unop_log, which used the weird ARB_vp LOG opcode that doesn't do what we want. This also lets the multiplication coefficients in there get constant-folded, possibly. Fixes: glsl-fs-log