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

Issue 2141046: Added support for associating functions with extensions and performing valida... (Closed)

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

Description

Added support for associating functions with extensions and performing validation when those functions are used in a shader. BUG=25

Patch Set 1 #

Total comments: 6

Patch Set 2 : '' #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -12 lines) Patch
M src/compiler/Initialize.cpp View 1 chunk +4 lines, -0 lines 0 comments Download
M src/compiler/ParseHelper.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/ParseHelper.cpp View 1 chunk +13 lines, -7 lines 6 comments Download
M src/compiler/SymbolTable.h View 4 chunks +17 lines, -2 lines 0 comments Download
M src/compiler/SymbolTable.cpp View 1 1 chunk +16 lines, -0 lines 0 comments Download
M src/compiler/glslang.y View 1 chunk +5 lines, -2 lines 0 comments Download

Messages

Total messages: 5
Alok Priyadarshi
14 years, 11 months ago (2010-09-08 18:21:44 UTC) #1
kbr1
LGTM with a couple of minor comments. http://codereview.appspot.com/2141046/diff/1/src/compiler/ParseHelper.cpp File src/compiler/ParseHelper.cpp (right): http://codereview.appspot.com/2141046/diff/1/src/compiler/ParseHelper.cpp#newcode890 src/compiler/ParseHelper.cpp:890: if (iter ...
14 years, 11 months ago (2010-09-08 19:04:52 UTC) #2
Alok Priyadarshi
http://codereview.appspot.com/2141046/diff/1/src/compiler/ParseHelper.cpp File src/compiler/ParseHelper.cpp (right): http://codereview.appspot.com/2141046/diff/1/src/compiler/ParseHelper.cpp#newcode890 src/compiler/ParseHelper.cpp:890: if (iter == extensionBehavior.end()) { On 2010/09/08 19:04:52, kbr1 ...
14 years, 11 months ago (2010-09-08 19:14:31 UTC) #3
dgkoch
A couple of comments about TParseContext::extensionErrorCheck. The rest looks fine. Daniel http://codereview.appspot.com/2141046/diff/7001/src/compiler/ParseHelper.cpp File src/compiler/ParseHelper.cpp (right): ...
14 years, 11 months ago (2010-09-09 13:08:40 UTC) #4
Alok Priyadarshi
14 years, 11 months ago (2010-09-09 17:29:46 UTC) #5
http://codereview.appspot.com/2141046/diff/7001/src/compiler/ParseHelper.cpp
File src/compiler/ParseHelper.cpp (right):

http://codereview.appspot.com/2141046/diff/7001/src/compiler/ParseHelper.cpp#...
src/compiler/ParseHelper.cpp:887: bool TParseContext::extensionErrorCheck(int
line, const TString& extension)
because they are not error or warning cases.

http://codereview.appspot.com/2141046/diff/7001/src/compiler/ParseHelper.cpp#...
src/compiler/ParseHelper.cpp:891: error(line, "extension", extension.c_str(),
"is not supported");
On 2010/09/09 13:08:40, dgkoch wrote:
> You probably want to add spaces around the extension name in the log to make
> this more readable.

space is added by the error function.

http://codereview.appspot.com/2141046/diff/7001/src/compiler/ParseHelper.cpp#...
src/compiler/ParseHelper.cpp:895: error(line, "extension", extension.c_str(),
"is disabled");
On 2010/09/09 13:08:40, dgkoch wrote:
> again need more spaces in the string literals.

ditto
Sign in to reply to this message.

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