problems with primitive restart

Aubrey Jones <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <DM2PR07MB6546CE4A7431664C4E9B091C3660@DM2PR07MB654.namprd07.prod.outlook.com>
I'm trying to use primitive restart to draw a bunch of triangle fans in core profile. Right now, it only renders the first of my triangle fans and not any subsequent one.

I'm enabling restart, I'm setting my restart index, and I'm using the same restart index in creating my index buffer. I'm using indexed rendering (most noob questions about restart try to use DrawArrays).

If I disable restart, all my buffered data is drawn (except it interprets it as one giant fan with many broken vertex attributes corresponding to the restart indices). So I'm pretty sure my vbo's and ibo's contain what they're supposed to contain.

Any ideas what I could be doing wrong? Is there perhaps a bug in the driver?


This is the profile I'm using:
OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile 
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.3.0

---
Aubrey Jones
Product Manager, Flagship Biosciences, Inc.
_______________________________________________
mesa-users mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.