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

Issue 7402051: Added preprocessor support for GL_FRAGMENT_PRECISION_HIGH. (Closed)

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

Description

Added preprocessor support for GL_FRAGMENT_PRECISION_HIGH. I will send the tests in a separate patch because I need to refactor the way compiler_tests are setup. Committed: https://code.google.com/p/angleproject/source/detail?r=1984

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -17 lines) Patch
M include/GLSLANG/ShaderLang.h View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M src/compiler/Compiler.cpp View 1 2 4 chunks +4 lines, -0 lines 0 comments Download
M src/compiler/ParseHelper.h View 1 2 1 chunk +1 line, -0 lines 2 comments Download
M src/compiler/ShHandle.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/ShaderLang.cpp View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M src/compiler/glslang.l View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M src/compiler/glslang.y View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M src/compiler/glslang_lex.cpp View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M src/compiler/glslang_tab.cpp View 1 2 3 chunks +19 lines, -14 lines 0 comments Download

Messages

Total messages: 11
Alok Priyadarshi
I will figure out why flex is dropping support for 64 bit before committing.
11 years, 9 months ago (2013-02-22 22:50:24 UTC) #1
kbr1
LGTM with one change. https://codereview.appspot.com/7402051/diff/2001/include/GLSLANG/ShaderLang.h File include/GLSLANG/ShaderLang.h (right): https://codereview.appspot.com/7402051/diff/2001/include/GLSLANG/ShaderLang.h#newcode40 include/GLSLANG/ShaderLang.h:40: #define ANGLE_SH_VERSION 108 I think ...
11 years, 9 months ago (2013-02-23 00:12:56 UTC) #2
Alok Priyadarshi
https://codereview.appspot.com/7402051/diff/2001/include/GLSLANG/ShaderLang.h File include/GLSLANG/ShaderLang.h (right): https://codereview.appspot.com/7402051/diff/2001/include/GLSLANG/ShaderLang.h#newcode40 include/GLSLANG/ShaderLang.h:40: #define ANGLE_SH_VERSION 108 On 2013/02/23 00:12:56, kbr1 wrote: > ...
11 years, 9 months ago (2013-03-04 19:44:56 UTC) #3
nicolas
Even though this has been withdrawn as an extension (http://www.khronos.org/registry/gles/extensions/OES/OES_fragment_precision_high.txt), I think it can still ...
11 years, 9 months ago (2013-03-04 19:52:58 UTC) #4
Alok Priyadarshi
Ok. I am going to commit this patch. In a separate path, I will enable ...
11 years, 9 months ago (2013-03-04 20:02:31 UTC) #5
Alok Priyadarshi
Committed patchset #3 manually as r1984 (presubmit successful).
11 years, 9 months ago (2013-03-04 20:03:15 UTC) #6
thakis
https://codereview.appspot.com/7402051/diff/7001/src/compiler/ParseHelper.h File src/compiler/ParseHelper.h (right): https://codereview.appspot.com/7402051/diff/7001/src/compiler/ParseHelper.h#newcode42 src/compiler/ParseHelper.h:42: checksPrecisionErrors(checksPrecErrors), Hi Shannon, I noticed that this constructor happens ...
9 years, 9 months ago (2015-03-08 01:49:15 UTC) #7
thakis
…or Alok. For some reason, `git show` claims this line is from shannon.woods%transgaming.com@gtempaccount.com
9 years, 9 months ago (2015-03-08 01:49:48 UTC) #8
Jamie Madill
On 2015/03/08 01:49:48, thakis wrote: > …or Alok. For some reason, `git show` claims this ...
9 years, 9 months ago (2015-03-09 14:28:27 UTC) #9
thakis
On Mon, Mar 9, 2015 at 7:28 AM, <jmadill@chromium.org> wrote: > On 2015/03/08 01:49:48, thakis ...
9 years, 9 months ago (2015-03-09 14:35:31 UTC) #10
Alok Priyadarshi
9 years, 9 months ago (2015-03-09 19:42:56 UTC) #11
Message was sent while issue was closed.
https://codereview.appspot.com/7402051/diff/7001/src/compiler/ParseHelper.h
File src/compiler/ParseHelper.h (right):

https://codereview.appspot.com/7402051/diff/7001/src/compiler/ParseHelper.h#n...
src/compiler/ParseHelper.h:42: checksPrecisionErrors(checksPrecErrors),
On 2015/03/08 01:49:15, thakis wrote:
> Hi Shannon,
> 
> I noticed that this constructor happens to initialize all fields except the
new
> field fragmentPrecisionHigh you added in this CL. Is that intentional, or was
> that an oversight?
> 
> Thanks,
> Nico

Even if it was intentional I do not remember after 2 years :)
Looks like an oversight to me.
Sign in to reply to this message.

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