[Mesa-dev] [PATCH 04/11] mesa: Add stub implementations of glGetProgramBinary and glProgramBinary

Eric Anholt eric at anholt.net
Mon Jan 7 13:55:28 PST 2013


Ian Romanick <idr at freedesktop.org> writes:

> On 12/20/2012 05:05 PM, Eric Anholt wrote:
>> Ian Romanick <idr at freedesktop.org> writes:
>>
>>> From: Ian Romanick <ian.d.romanick at intel.com>
>>
>> It looks to me like we really do have to support getting a
>> binary with this extension/gles3:
>>
>> "Any program binary retrieved using GetProgramBinary and submitted us-
>> ing ProgramBinary under the same configuration must be successful. Any
>> programs loaded successfully by ProgramBinary must be run properly with
>> any legal GL state vector."
>>
>> where I read configuration as "hardware and driver version"  I don't see
>> any of the text I would expect if they're letting length == 0 mean
>> "sorry, can't save this one".
>
> I thought I had replied to this, but I don't see my e-mail.  Weird. 
> Anyway, the spec allows us to expose zero binary formats.  If there are 
> no binary formats, any value specified as binaryFormat for 
> glProgramBinary must be invalid.  The older ARB_get_shader_binary spec 
> uses basically the same method to allow the same cowardly retreat. :)

Oh, of course.  I was missing that.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130107/2dbf6e86/attachment.pgp>


More information about the mesa-dev mailing list