[Mesa-dev] [Bug 87516] glProgramBinary violates spec
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Dec 19 16:15:32 PST 2014
https://bugs.freedesktop.org/show_bug.cgi?id=87516
Bug ID: 87516
Summary: glProgramBinary violates spec
Product: Mesa
Version: git
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: medium
Component: Mesa core
Assignee: mesa-dev at lists.freedesktop.org
Reporter: leith at mapbox.com
The current implementation of ARB_get_program_binary is incomplete and
currently violates the spec.
Specifically these are the major issues:
* glGet with GL_NUM_PROGRAM_BINARY_FORMATS is not implemented, it should return
a at least 1.
* glGet with GL_PROGRAM_BINARY_FORMATS is not implemented, it should return a
list with a single binaryFormat.
* glGetProgramBinary succeeds with a binary length of zero, and also does not
set binaryFormat to a valid value, it should always succeed and set
binaryFormat to the value returned by GL_PROGRAM_BINARY_FORMATS.
* glProgramBinary always fails with GL_INVALID_OPERATION despite program being
valid, it should always succeed if binaryFormat is correct, and return
GL_INVALID_ENUM if not. Additionally it should always set GL_LINK_STATUS to
GL_FALSE to indicate the program will need to load source anyway.
If these are not to be implemented ARB_program_binary and GL 4.1+ support
should not be advertised by Mesa.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20141220/0f34e50d/attachment.html>
More information about the mesa-dev
mailing list