Summary: | [gl gles2] Not able to get the attribute by function glGetVertexAttribfv | ||
---|---|---|---|
Product: | Mesa | Reporter: | Yi Sun <yi.sun> |
Component: | glsl-compiler | Assignee: | Ian Romanick <idr> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | minor | ||
Priority: | medium | ||
Version: | 7.10 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | gl test case for function GetVertexAttrib |
Description
Yi Sun
2010-12-13 22:41:00 UTC
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.