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

Issue 3225041: Implemented validation for loop and indexing limitations specified by GLSL ES... (Closed)

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

Description

Implemented validation for loop and indexing limitations specified by GLSL ES spec 1.0 Appendix A Section 4 and 5. A couple of things to note: - This CL only validates the "form" of loop and indexing. It does not detect number-of-iterations or out-of-bound access. This will require more involved analysis/heuristics. - I haved combined SH_VALIDATE_CONTROL_FLOW and SH_VALIDATE_INDEXING into one flag - SH_VALIDATE_LOOP_INDEXING. Validating both together is much easier. BUG=48 Committed: http://code.google.com/p/angleproject/source/detail?r=491

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 12

Patch Set 3 : '' #

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+662 lines, -25 lines) Patch
M include/GLSLANG/ShaderLang.h View 1 2 3 3 chunks +12 lines, -17 lines 0 comments Download
M src/build_angle.gyp View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M src/compiler/Compiler.cpp View 1 2 4 chunks +18 lines, -8 lines 0 comments Download
M src/compiler/Intermediate.cpp View 1 2 1 chunk +95 lines, -0 lines 0 comments Download
M src/compiler/ShHandle.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
A src/compiler/ValidateLimitations.h View 1 2 1 chunk +62 lines, -0 lines 0 comments Download
A src/compiler/ValidateLimitations.cpp View 1 2 1 chunk +468 lines, -0 lines 0 comments Download
M src/compiler/intermediate.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 7
Alok Priyadarshi
13 years, 5 months ago (2010-11-19 18:43:06 UTC) #1
dgkoch
A couple comments, but other than that, I don't have much to add. Daniel http://codereview.appspot.com/3225041/diff/2001/include/GLSLANG/ShaderLang.h ...
13 years, 5 months ago (2010-11-22 04:37:01 UTC) #2
kbr1
This mostly looks very good. Only a few minor stylistic comments. Have you run any ...
13 years, 5 months ago (2010-11-22 23:33:51 UTC) #3
Alok Priyadarshi
With SH_VALIDATE_LOOP_INDEXING flag CTS passes! All WebGL demos I have tried work! A few of ...
13 years, 5 months ago (2010-11-23 20:42:01 UTC) #4
dgkoch
LGTM. will leave final call up to KBR
13 years, 5 months ago (2010-11-23 21:06:28 UTC) #5
kbr1
LGTM. Fantastic work!
13 years, 5 months ago (2010-11-23 21:52:44 UTC) #6
Alok Priyadarshi
13 years, 5 months ago (2010-11-24 18:38:21 UTC) #7
On 2010/11/23 21:52:44, kbr1 wrote:
> LGTM. Fantastic work!

WebGL conformance tests and layout tests pass too. Submitting.
Sign in to reply to this message.

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