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

Issue 6348056: Make sure that #version occurs before anything else, except for comments and white space. (Closed)

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

Description

Make sure that #version occurs before anything else, except for comments and white space. Committed: https://code.google.com/p/angleproject/source/detail?r=1184

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -0 lines) Patch
M src/compiler/preprocessor/new/Diagnostics.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/preprocessor/new/Diagnostics.cpp View 1 chunk +3 lines, -0 lines 0 comments Download
M src/compiler/preprocessor/new/DirectiveParser.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/preprocessor/new/DirectiveParser.cpp View 5 chunks +18 lines, -0 lines 0 comments Download
M tests/preprocessor_tests/version_test.cpp View 1 chunk +132 lines, -0 lines 0 comments Download

Messages

Total messages: 3
Alok Priyadarshi
12 years, 2 months ago (2012-06-29 19:25:33 UTC) #1
kbr1
LGTM Are we going to properly reject WebGL shaders attempting to pass in unsupported #version ...
12 years, 2 months ago (2012-06-29 23:29:09 UTC) #2
Alok Priyadarshi
12 years, 2 months ago (2012-06-30 00:43:36 UTC) #3
On 2012/06/29 23:29:09, kbr1 wrote:
> LGTM
> 
> Are we going to properly reject WebGL shaders attempting to pass in
unsupported
> #version directives? Is this handled today?

Yes. Nothing here changes. If #version has correct format, the new preprocessor
just calls a callback for the compiler to handle.
Sign in to reply to this message.

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