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

Issue 7302043: Check that the incoming type to a default precision qualifier statement is valid. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 7 months ago by kbr1
Modified:
11 years, 7 months ago
CC:
angleproject-review_googlegroups.com, gmanchromium, Zhenyao Mo
Base URL:
http://angleproject.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Check that the incoming type to a default precision qualifier statement is valid. Fixes new WebGL conformance tests shader-with-illegal-default-precision.frag.html and shader-with-illegal-default-precision.vert.html per http://www.khronos.org/bugzilla/show_bug.cgi?id=781 . Also ran WebGL 1.0.1 conformance tests; no regressions. BUG=https://code.google.com/p/angleproject/issues/detail?id=410 Committed: https://code.google.com/p/angleproject/source/detail?r=1824

Patch Set 1 #

Patch Set 2 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -20 lines) Patch
M src/common/version.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/SymbolTable.h View 1 chunk +9 lines, -3 lines 0 comments Download
M src/compiler/glslang.y View 1 chunk +4 lines, -1 line 2 comments Download
M src/compiler/glslang_tab.cpp View 2 chunks +18 lines, -15 lines 0 comments Download

Messages

Total messages: 6
kbr1
Nicolas, Alok, could you please review this? Nicolas, any chance you could help run this ...
11 years, 7 months ago (2013-02-05 01:43:21 UTC) #1
kbr1
https://codereview.appspot.com/7302043/diff/2001/src/compiler/glslang.y File src/compiler/glslang.y (right): https://codereview.appspot.com/7302043/diff/2001/src/compiler/glslang.y#newcode995 src/compiler/glslang.y:995: context->error($1.line, "illegal type argument for default precision qualifier", getBasicString($3.type)); ...
11 years, 7 months ago (2013-02-05 02:05:56 UTC) #2
Alok Priyadarshi
lgtm https://codereview.appspot.com/7302043/diff/2001/src/compiler/glslang.y File src/compiler/glslang.y (right): https://codereview.appspot.com/7302043/diff/2001/src/compiler/glslang.y#newcode995 src/compiler/glslang.y:995: context->error($1.line, "illegal type argument for default precision qualifier", ...
11 years, 7 months ago (2013-02-05 05:44:34 UTC) #3
nicolas
Looks good to me. No Khronos ES2 regressions found. Indeed there doesn't appear to be ...
11 years, 7 months ago (2013-02-05 15:29:10 UTC) #4
kbr1
Thanks Alok and Nicolas. Will look into improving error messages later.
11 years, 7 months ago (2013-02-06 01:51:37 UTC) #5
kbr1
11 years, 7 months ago (2013-02-06 21:12:18 UTC) #6
Message was sent while issue was closed.
I forgot to link to the bug in the commit message. Updated above.
Sign in to reply to this message.

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