ir_to_mesa: Fix up implementation of ir_unop_exp.
authorEric Anholt <eric@anholt.net>
Sat, 3 Jul 2010 00:02:42 +0000 (17:02 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 3 Jul 2010 00:06:32 +0000 (17:06 -0700)
commitb0ac07e3de8d9609fb0b1b7ec85b4149c4ee2c70
treea901dcd518e9d2b8eb993f49237797fab21e209a
parent4e7d5d0e74c26cac182cea1be0f6b79bb664ad8c
ir_to_mesa: Fix up implementation of ir_unop_exp.

OPCODE_EXP is not to ir_unop_exp what OPCODE_EX2 is to ir_unop_exp2.
It's the weird VP approximation helper opcode.  Just implement it with
OPCODE_POW instead.

Fixes glsl-fs-exp.
src/mesa/shader/ir_to_mesa.cpp