[Mesa-dev] glapi dispatch table isn't built correctly with --shared-glapi

Jon TURNEY jon.turney at dronecode.org.uk
Wed Feb 1 10:51:11 PST 2012

On 01/02/2012 15:59, Matt Turner wrote:
> On Wed, Feb 1, 2012 at 9:41 AM, Jon TURNEY wrote:
>> Note that glean is calling glGenPrograms, but we are ending up in
>> glProgramParameters4fvNV.
>> It seems the indirect dispatch table isn't being built correctly.  The
>> dispatch table layouts in glapi_map_tmpi.h and glapitable.h are inconsistent
>> when buiding shared glapi, as shared-glapi/glapi_mapi_tmp.h is generated from
>> gl_and_es_API.xml, whereas glapitable.h is generated from gl_API.xml
> Do you think this is related to
> http://www.mail-archive.com/mesa-dev@lists.freedesktop.org/msg17627.html
> ?

The part of that thread that says...

On 24/01/2012 01:59, Brian Paul wrote:
> However, any program that uses extension functions acts peculiar and dies:

... I would guess so, yes.

Turning --shared-glapi always on just made it more obvious it was broken :S

More information about the mesa-dev mailing list