commit | 32cfaf4b4882185b000eb30c9b420f1cf06aa9c5 | [log] [tgz] |
---|---|---|
author | alokp@chromium.org <alokp@chromium.org@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Mon Aug 23 21:01:13 2010 +0000 |
committer | alokp@chromium.org <alokp@chromium.org@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Mon Aug 23 21:01:13 2010 +0000 |
tree | eaa783a87256ac4289bef4b610c12dbeb252cd1c | |
parent | 94e1934d3704f8f791652f7bc28579869d3f2448 [diff] |
TIntermBinary::promote() was incorrectly marking the type of result as const in some cases. The result can only be const if both operands are const. Also cleaned up the function to remove redundant/repeated checks. BUG=24 TEST=OpenGL ES 2.0 Conformance tests Review URL: http://codereview.appspot.com/1938047 git-svn-id: https://angleproject.googlecode.com/svn/trunk@385 736b8ea6-26fd-11df-bfd4-992fa37f6226