glsl2: Add a pass to convert exp and log to exp2 and log2.
[mesa.git] / src / glsl / ir.h
index ef8339ce1997ab69a827cdd0513a7e550a824dd5..5dc3c6b918606651df32c3ab8ea6bc49aca486fb 100644 (file)
@@ -593,8 +593,8 @@ enum ir_expression_operation {
    ir_unop_rcp,
    ir_unop_rsq,
    ir_unop_sqrt,
-   ir_unop_exp,
-   ir_unop_log,
+   ir_unop_exp,      /**< Log base e on gentype */
+   ir_unop_log,             /**< Natural log on gentype */
    ir_unop_exp2,
    ir_unop_log2,
    ir_unop_f2i,      /**< Float-to-integer conversion. */