Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(60)

Issue 1938047: TIntermBinary::promote() was incorrectly marking the type of result as const ... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 9 months ago by Alok Priyadarshi
Modified:
13 years, 9 months ago
Reviewers:
kbr1, dgkoch
CC:
angleproject-review_googlegroups.com
Base URL:
http://angleproject.googlecode.com/svn/trunk/
Visibility:
Public.

Description

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

Patch Set 1 #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -63 lines) Patch
M src/compiler/Intermediate.cpp View 12 chunks +43 lines, -63 lines 8 comments Download

Messages

Total messages: 4
Alok Priyadarshi
13 years, 9 months ago (2010-08-20 21:35:49 UTC) #1
kbr1
LGTM. Couple of comments / questions. http://codereview.appspot.com/1938047/diff/1/2 File src/compiler/Intermediate.cpp (left): http://codereview.appspot.com/1938047/diff/1/2#oldcode118 src/compiler/Intermediate.cpp:118: rightTempConstant = right->getAsConstantUnion(); ...
13 years, 9 months ago (2010-08-23 20:17:28 UTC) #2
Alok Priyadarshi
http://codereview.appspot.com/1938047/diff/1/2 File src/compiler/Intermediate.cpp (left): http://codereview.appspot.com/1938047/diff/1/2#oldcode118 src/compiler/Intermediate.cpp:118: rightTempConstant = right->getAsConstantUnion(); Yes as you can see it ...
13 years, 9 months ago (2010-08-23 20:41:30 UTC) #3
dgkoch
13 years, 9 months ago (2010-08-23 20:55:44 UTC) #4
no issues here
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b