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

Issue 5149046: Add an extension for querying translated HLSL shader source. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 1 month ago by zmo
Modified:
13 years, 1 month ago
Reviewers:
kbr1, Zhenyao Mo, kbr, dgkoch
CC:
angleproject-review_googlegroups.com, gmangoog
Base URL:
http://angleproject.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Add an extension for querying translated HLSL shader source. Committed: http://code.google.com/p/angleproject/source/detail?r=780

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 12

Patch Set 3 : '' #

Total comments: 7

Patch Set 4 : '' #

Total comments: 4

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+197 lines, -7 lines) Patch
A extensions/ANGLE_translated_shader_source.txt View 1 2 3 4 1 chunk +113 lines, -0 lines 0 comments Download
M include/GLES2/gl2ext.h View 1 2 2 chunks +13 lines, -0 lines 0 comments Download
M src/common/version.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/libGLESv2/Context.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M src/libGLESv2/Shader.h View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M src/libGLESv2/Shader.cpp View 1 2 3 4 2 chunks +27 lines, -5 lines 0 comments Download
M src/libGLESv2/libGLESv2.cpp View 1 2 3 chunks +36 lines, -0 lines 0 comments Download
M src/libGLESv2/libGLESv2.def View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13
Zhenyao Mo
Please review.
13 years, 1 month ago (2011-09-29 20:29:44 UTC) #1
dgkoch
Overall looks pretty good. A few comments about the extension, and a bigger design question ...
13 years, 1 month ago (2011-09-30 20:11:21 UTC) #2
Zhenyao Mo
http://codereview.appspot.com/5149046/diff/3001/extensions/ANGLE_translated_shader_source.txt File extensions/ANGLE_translated_shader_source.txt (right): http://codereview.appspot.com/5149046/diff/3001/extensions/ANGLE_translated_shader_source.txt#newcode77 extensions/ANGLE_translated_shader_source.txt:77: CompileShader hasn't been called, the returned length will be ...
13 years, 1 month ago (2011-09-30 23:48:27 UTC) #3
dgkoch
On 2011/09/30 23:48:27, Zhenyao Mo wrote: > http://codereview.appspot.com/5149046/diff/3001/extensions/ANGLE_translated_shader_source.txt > File extensions/ANGLE_translated_shader_source.txt (right): > > http://codereview.appspot.com/5149046/diff/3001/extensions/ANGLE_translated_shader_source.txt#newcode77 ...
13 years, 1 month ago (2011-10-01 02:50:43 UTC) #4
Zhenyao Mo
Thanks for reviewing this CL. Revised, please have another look. http://codereview.appspot.com/5149046/diff/3001/extensions/ANGLE_translated_shader_source.txt File extensions/ANGLE_translated_shader_source.txt (right): http://codereview.appspot.com/5149046/diff/3001/extensions/ANGLE_translated_shader_source.txt#newcode55 ...
13 years, 1 month ago (2011-10-01 20:14:21 UTC) #5
dgkoch
LGTM with the export number fixed up. http://codereview.appspot.com/5149046/diff/8001/src/libGLESv2/libGLESv2.def File src/libGLESv2/libGLESv2.def (right): http://codereview.appspot.com/5149046/diff/8001/src/libGLESv2/libGLESv2.def#newcode157 src/libGLESv2/libGLESv2.def:157: glGetTranslatedShaderSourceANGLE @159 ...
13 years, 1 month ago (2011-10-02 20:11:00 UTC) #6
dgkoch
On 2011/10/01 20:14:21, Zhenyao Mo wrote: > On 2011/09/30 20:11:21, dgkoch wrote: > > looks ...
13 years, 1 month ago (2011-10-02 20:12:52 UTC) #7
Zhenyao Mo
158 is used by glBindTexImage (the last line of this doc) On 2011/10/02 20:11:00, dgkoch ...
13 years, 1 month ago (2011-10-03 17:53:41 UTC) #8
dgkoch
Right. I missed that. LGTM as is then.
13 years, 1 month ago (2011-10-03 17:55:35 UTC) #9
kbr1
Basically looks good to me but couple of comments. http://codereview.appspot.com/5149046/diff/8001/extensions/ANGLE_translated_shader_source.txt File extensions/ANGLE_translated_shader_source.txt (right): http://codereview.appspot.com/5149046/diff/8001/extensions/ANGLE_translated_shader_source.txt#newcode41 extensions/ANGLE_translated_shader_source.txt:41: ...
13 years, 1 month ago (2011-10-03 20:09:22 UTC) #10
Zhenyao Mo
revised, please have another look. http://codereview.appspot.com/5149046/diff/8001/extensions/ANGLE_translated_shader_source.txt File extensions/ANGLE_translated_shader_source.txt (right): http://codereview.appspot.com/5149046/diff/8001/extensions/ANGLE_translated_shader_source.txt#newcode41 extensions/ANGLE_translated_shader_source.txt:41: This extension addes a ...
13 years, 1 month ago (2011-10-03 20:56:48 UTC) #11
kbr1
LGTM with one minor nit and one comment. http://codereview.appspot.com/5149046/diff/15001/extensions/ANGLE_translated_shader_source.txt File extensions/ANGLE_translated_shader_source.txt (right): http://codereview.appspot.com/5149046/diff/15001/extensions/ANGLE_translated_shader_source.txt#newcode43 extensions/ANGLE_translated_shader_source.txt:43: ES). ...
13 years, 1 month ago (2011-10-03 21:32:46 UTC) #12
Zhenyao Mo
13 years, 1 month ago (2011-10-03 21:45:10 UTC) #13
http://codereview.appspot.com/5149046/diff/15001/extensions/ANGLE_translated_...
File extensions/ANGLE_translated_shader_source.txt (right):

http://codereview.appspot.com/5149046/diff/15001/extensions/ANGLE_translated_...
extensions/ANGLE_translated_shader_source.txt:43: ES). For debugging purpose, it
is useful to be able to examine the shader
On 2011/10/03 21:32:46, kbr1 wrote:
> purpose -> purposes

Done.

http://codereview.appspot.com/5149046/diff/15001/src/libGLESv2/Shader.h
File src/libGLESv2/Shader.h (right):

http://codereview.appspot.com/5149046/diff/15001/src/libGLESv2/Shader.h#newco...
src/libGLESv2/Shader.h:83: void getSourceImpl(GLsizei bufSize, GLsizei *length,
char *buffer, char *source);
On 2011/10/03 21:32:46, kbr1 wrote:
> I'd put "source" as the first argument so that outputs follow inputs, but this
> is a matter of style.

Done.
Sign in to reply to this message.

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