[Bug 97321] Query INFO_LOG_LENGTH for empty info log should return 0
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Nov 25 05:34:04 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=97321
Tapani Pälli <lemody at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #18 from Tapani Pälli <lemody at gmail.com> ---
commit ec4e71f75e9b8a1c427994efa32a61593e3172f9
Author: Tapani Pälli <tapani.palli at intel.com>
Date: Wed Aug 17 10:37:45 2016 +0300
mesa: fix empty program log length
In case we have empty log (""), we should return 0. This fixes
Khronos WebGL conformance test 'program-infolog'.
From OpenGL ES 3.1 (and OpenGL 4.5 Core) spec:
"If pname is INFO_LOG_LENGTH , the length of the info log, including
a null terminator, is returned. If there is no info log, zero is
returned."
v2: apply same fix for get_shaderiv and _mesa_GetProgramPipelineiv (Ian)
Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
Reviewed-by: Iago Toral Quiroga <itoral at igalia.com> (v1)
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97321
Cc: "13.0" <mesa-stable at lists.freedesktop.org>
--
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/20161125/31754530/attachment.html>
More information about the intel-3d-bugs
mailing list