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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 17 08:29:51 UTC 2016


--- Comment #5 from Qiankun Miao <qiankun.miao at intel.com> ---
(In reply to Ian Romanick from comment #3)
> I think this test is wrong, and there is a GLES test that expects the
> behavior that we do. glGetProgramIngoLog always writes at least a NUL
> character, so the length returned by this quest must be at least 1.

Agree with you glGetProgramInfoLog always writes at least a NULL character. But
GetProgramiv with pname is INFO_LOG_LENGTH should return 0 for this case
according the spec: "If there is no info log, zero is returned.". If length
returned must be at least 1, when 0 will be returned as spec says?

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/20160817/c8d2bc57/attachment.html>

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