[Bug 97321] Query INFO_LOG_LENGTH for empty info log should return 0

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 18 02:12:50 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=97321

--- Comment #7 from Qiankun Miao <qiankun.miao at intel.com> ---
(In reply to Ian Romanick from comment #6)
> The spec also says, "If pname is INFO_LOG_LENGTH , the length of the info
> log, including a null terminator, is returned."  If this query returns 0,
> then glGetProgramInfoLog CANNOT write anything to the buffer... and it
> currently does.

I think returned value of GetProgramiv() can be 0. It doesn't affect the real
length of the info log buffer. Driver can still return a null terminator
string.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20160818/cb9650d1/attachment.html>


More information about the intel-3d-bugs mailing list