[Mesa-dev] [Bug 35425] Instanced drawing: not implemented

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Apr 8 12:28:20 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=35425

--- Comment #7 from Ian Romanick <idr at freedesktop.org> 2011-04-08 12:28:20 PDT ---
The GL_ARB_draw_instanced spec is really broken.  In various ways, it does not
match what any vendor ships.  The ARB is working on fixing the spec to match a
subset of reality that is useful to developers.  Once consensus is reached,
there will almost certainly be changes required to Mesa.

Here's a table of the known problems:

                                             AMD   Mesa   NVIDIA
-------------------------------------------+-----+------+-------
gl_InstanceIDARB must be available         | yes | yes  |  NO
-------------------------------------------+-----+------+-------
gl_InstanceID must not be available        | NO  | yes  |  NO
-------------------------------------------+-----+------+-------
Neither can be available if OpenGL 3.0 nor | N/A |  NO  |  N/A
GL_EXT_gpu_shader4 are not supported       |     |      |
-------------------------------------------+-----+------+-------

I'll reopen this bug once the spec issues are resolved.  My guess is that
gl_InstanceID will be added and the GL 3.0 / GL_EXT_gpu_shader4 dependency will
be dropped.  It is also possible that, alas, gl_InstanceIDARB will be removed
too.  We'll see what happens.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list