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

Issue 5539046: Long name mapping needs to be consistent between vertex/fragment shaders. (Closed)

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

Description

Long name mapping needs to be consistent between vertex/fragment shaders. For example: varying variables, uniforms. This CL makes MapLongVariableNames a ref-counted singleton and therefore, the map is shared by all shaders. Also, function/variable names changes from Varying to Global because uniforms also need to be consistent, not just varying variables. ANGLEBUG=279 TEST=webgl conformance tests, especially invalid-passed-params.html and glsl-long-variable-names.html Committed: http://code.google.com/p/angleproject/source/detail?r=942

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -23 lines) Patch
M src/common/version.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/Compiler.cpp View 1 2 3 chunks +8 lines, -4 lines 0 comments Download
M src/compiler/MapLongVariableNames.h View 1 2 chunks +15 lines, -4 lines 0 comments Download
M src/compiler/MapLongVariableNames.cpp View 1 3 chunks +37 lines, -12 lines 0 comments Download
M src/compiler/ShHandle.h View 1 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 10
zmo
Tested with WebGL conformance tests suite. Please review.
12 years, 4 months ago (2012-01-12 19:51:23 UTC) #1
kbr1
Rather than making the innards of the MapLongVariableNames class static, is it possible to leave ...
12 years, 4 months ago (2012-01-12 21:28:52 UTC) #2
zmo
On 2012/01/12 21:28:52, kbr1 wrote: > Rather than making the innards of the MapLongVariableNames class ...
12 years, 4 months ago (2012-01-12 21:41:42 UTC) #3
zmo
On 2012/01/12 21:41:42, zmo wrote: > On 2012/01/12 21:28:52, kbr1 wrote: > > Rather than ...
12 years, 4 months ago (2012-01-12 21:53:31 UTC) #4
kbr1
On 2012/01/12 21:41:42, zmo wrote: > On 2012/01/12 21:28:52, kbr1 wrote: > > Rather than ...
12 years, 4 months ago (2012-01-12 21:58:03 UTC) #5
zmo
On 2012/01/12 21:58:03, kbr1 wrote: > On 2012/01/12 21:41:42, zmo wrote: > > On 2012/01/12 ...
12 years, 4 months ago (2012-01-12 22:01:56 UTC) #6
apatrick1
The map should probably be protected with some kind of lock. The shader compiler gets ...
12 years, 4 months ago (2012-01-12 23:07:38 UTC) #7
zmo
On 2012/01/12 23:07:38, apatrick1 wrote: > The map should probably be protected with some kind ...
12 years, 4 months ago (2012-01-12 23:50:54 UTC) #8
zmo
Revised and tested with WebGL Conformance Tests. Please have another look.
12 years, 4 months ago (2012-01-12 23:59:10 UTC) #9
kbr1
12 years, 4 months ago (2012-01-13 00:23:55 UTC) #10
Thanks. Big thumbs up. LGTM
Sign in to reply to this message.

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