summaryrefslogtreecommitdiffstats
path: root/src/glsl/builtin_functions.cpp
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-02-28 13:33:19 -0800
committerMatt Turner <[email protected]>2014-03-18 23:20:29 -0700
commit6cbc64c3cb416fadad6e80042e24cd1e1b682897 (patch)
tree906bd4d7ca4ad006ec3a922fff169992b4176f10 /src/glsl/builtin_functions.cpp
parent9a9eaaa79a43e5fb249ff56a06c3f845e6a28a41 (diff)
glsl: Optimize pow(x, 2) into x * x.
Cuts two instructions out of SynMark's Gl32VSInstancing benchmark. Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/glsl/builtin_functions.cpp')
0 files changed, 0 insertions, 0 deletions