diff options
author | Matt Turner <[email protected]> | 2014-02-28 13:33:19 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2014-03-18 23:20:29 -0700 |
commit | 6cbc64c3cb416fadad6e80042e24cd1e1b682897 (patch) | |
tree | 906bd4d7ca4ad006ec3a922fff169992b4176f10 /src/glsl/ir_builder.cpp | |
parent | 9a9eaaa79a43e5fb249ff56a06c3f845e6a28a41 (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/ir_builder.cpp')
0 files changed, 0 insertions, 0 deletions