summaryrefslogtreecommitdiff
path: root/src/mesa/program/lex.yy.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-08-31 05:38:50 +0200
committerMarek Olšák <maraeo@gmail.com>2010-08-31 06:36:52 +0200
commit4f189b3bf57a6500953dac49105f160af5fa6468 (patch)
tree6e406eb6f33443db25d95b6f7808c19fcaedd97b /src/mesa/program/lex.yy.c
parent2619b1c96feed72444499021d8a870eab1c37e00 (diff)
ir_to_mesa: use RSQ+MUL instead of RSQ+RCP for SQRT
sqrt(x) = 1/rsq(x) = x*rsq(x) This optimization already was in the old GLSL compiler. Acked on irc by Eric Anholt.
Diffstat (limited to 'src/mesa/program/lex.yy.c')
0 files changed, 0 insertions, 0 deletions