https://bugs.freedesktop.org/show_bug.cgi?id=93053
Bug ID: 93053 Summary: GL_PROGRAM_BINARY_LENGTH always reports 0 Product: Mesa Version: unspecified Hardware: All OS: All Status: NEW Severity: major Priority: medium Component: Mesa core Assignee: mesa-dev@lists.freedesktop.org Reporter: weilercd...@gmail.com QA Contact: mesa-dev@lists.freedesktop.org shaderapi.c always stores 0 for GL_PROGRAM_BINARY_LENGTH when placing a ProgramParameter call. This unfortunately is not a valid value to store there unless GL_LINK_STATUS is GL_FALSE. The size returned by this call should be the amount of bytes required to place a call to GetProgramBinary. There seems to be no way in mesa to safely obtain a program binary without trying GetProgramBinary in a loop, reallocating the buffer as necessary to store the binary until it succeeds. Unfortunately there is no way to distinguish if the function call is failing because of lack of memory or because of something else. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev