System Environment: -------------------------- Kernel_version: (drm-intel-fixes)63abf3edaf42d0b9f278df90fe41c7ed4796b6b1 Libdrm: (master)2.4.23 Mesa: (7.10)0e50c21e247b6d4246fcc2b583563a8f44bc4249 Xserver: (server-1.9-branch)xorg-server-1.9.2.902 Xf86_video_intel: (master)2.13.902-1-g71af40a75fbdd1054b1111e8cbe67ad1f97e6613 Bug detailed description: ------------------------- When we use the function glGetVertexAttribfv to get the attribute, which is loaded by glVertexAttrib before, we're not able to get the value and an error generates. Reproduce steps: ------------------------- Build and run the attachment.
Created attachment 41097 [details] gl test case for function GetVertexAttrib
I'm lowering the priority on this bug until someone can show me an application that uses this functionality. I'm not saying we won't fix it, but I am saying that there are a lot of bugs ahead of it.
Fixed on master by the following commit. This will be cherry-picked to 7.9 and 7.10 soon. commit 5c3f1cdbbeb4d787bad7729ccd3f10aa78d113ac Author: Ian Romanick <ian.d.romanick@intel.com> Date: Thu Feb 3 17:56:44 2011 -0800 mesa: Fix error checks in GetVertexAttrib functions Querying index zero is not an error in OpenGL ES 2.0. Querying an index larger than the value returned by GL_MAX_VERTEX_ATTRIBS is an error in all APIs. Fixes bugzilla #32375.
Fixed on 7.9 (8159bef7) and 7.10 (60675572).
Verified it.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.