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

Issue 4287077: glGetProgramiv(GL_ACTIVE_UNIFORM_MAX_LENGTH) should count an extra 3 if uniform is an array becau... (Closed)

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

Description

glGetProgramiv(GL_ACTIVE_UNIFORM_MAX_LENGTH) should count an extra 3 if uniform is an array because "[0]" is appended. BUG=135 TEST=the attached htm in the bug runs ok Committed: http://code.google.com/p/angleproject/source/detail?r=592

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M src/libGLESv2/Program.cpp View 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 2
Zhenyao Mo
Please review.
14 years, 5 months ago (2011-03-24 20:56:09 UTC) #1
kbr1
14 years, 5 months ago (2011-03-24 21:10:23 UTC) #2
LGTM but it looks like there is an ambiguity in the existing code about uniforms
of length 1. It looks like we will return just the base name for those uniforms,
rather than "name[0]".

Perhaps we should file another bug about this, but this one should definitely be
fixed.
Sign in to reply to this message.

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