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

Issue 6779043: Fix decl of gl_FragCoord in GLSL versions <= 1.20. (Closed)

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

Description

Fix decl of gl_FragCoord in GLSL versions <= 1.20. We we're saying "in" instead of "varying". Committed: https://code.google.com/p/skia/source/detail?r=6104

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -1 line) Patch
M src/gpu/gl/GrGLShaderBuilder.cpp View 1 chunk +6 lines, -1 line 2 comments Download
M src/gpu/gl/GrGLShaderVar.h View 14 chunks +35 lines, -0 lines 2 comments Download

Messages

Total messages: 3
bsalomon
11 years, 11 months ago (2012-10-25 14:45:31 UTC) #1
robertphillips
LGTM + 2 questions https://codereview.appspot.com/6779043/diff/1/src/gpu/gl/GrGLShaderBuilder.cpp File src/gpu/gl/GrGLShaderBuilder.cpp (right): https://codereview.appspot.com/6779043/diff/1/src/gpu/gl/GrGLShaderBuilder.cpp#newcode291 src/gpu/gl/GrGLShaderBuilder.cpp:291: fFSHeader.append("#extension GL_ARB_fragment_coord_conventions: require\n"); Is this ...
11 years, 11 months ago (2012-10-25 14:51:28 UTC) #2
bsalomon
11 years, 11 months ago (2012-10-25 14:59:40 UTC) #3
https://codereview.appspot.com/6779043/diff/1/src/gpu/gl/GrGLShaderBuilder.cpp
File src/gpu/gl/GrGLShaderBuilder.cpp (right):

https://codereview.appspot.com/6779043/diff/1/src/gpu/gl/GrGLShaderBuilder.cp...
src/gpu/gl/GrGLShaderBuilder.cpp:291: fFSHeader.append("#extension
GL_ARB_fragment_coord_conventions: require\n");
On 2012/10/25 14:51:29, robertphillips wrote:
> Is this variable used anywhere?

whoops... at first I was creating and then appending. Removed.

https://codereview.appspot.com/6779043/diff/1/src/gpu/gl/GrGLShaderVar.h
File src/gpu/gl/GrGLShaderVar.h (right):

https://codereview.appspot.com/6779043/diff/1/src/gpu/gl/GrGLShaderVar.h#newc...
src/gpu/gl/GrGLShaderVar.h:51: kDefault_Origin,        // when set to kDefault
the origin field is ignored.
On 2012/10/25 14:51:29, robertphillips wrote:
> use -> used?

Done.
Sign in to reply to this message.

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