[Mesa-dev] [Bug 99214] Crash in library libswrAVX.so when assigning vertex buffer object pointers with elements of type GL_DOUBLE

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Dec 28 22:19:53 UTC 2016


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

--- Comment #5 from Roland Scheidegger <sroland at vmware.com> ---
(In reply to Ilia Mirkin from comment #4)
> (In reply to chris from comment #3)
> > That's unfortunate. Spec indicates GL_DOUBLE as an accepted value. 
> > https://www.opengl.org/sdk/docs/man2/xhtml/glVertexPointer.xml
> 
> Correct - it was one of the features added in GL 2.0, I believe. But swr is
> not a fully conformant driver, and this is one of the items that's lacking.
> Patches welcome!

double type for vertex attributes is a 1.0 feature, actually. Albeit prior to
1.1 you couldn't use glVertexPointer and friends... Not to mention buffer
objects...

(Albeit I'd say you really should avoid it usually in any case, it will just
get converted to float somewhere. Unless your data naturally comes as doubles,
so it has to be converted somewhere no matter what.)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20161228/8591b6c4/attachment.html>


More information about the mesa-dev mailing list