Summary: | glGetActiveUniform returns size in wrong units | ||
---|---|---|---|
Product: | Mesa | Reporter: | Bruce Merry <bmerry> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED DUPLICATE | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Demo; requires GLEW and GLUT |
Description
Bruce Merry
2007-12-20 03:28:58 UTC
Created attachment 13251 [details]
Demo; requires GLEW and GLUT
Compile with
gcc -o glsl-size glsl-size.c -Wall -g -lGLEW -lglut -lGL
The choice of versions in Bugzilla is quite out of date. I left the version as unspecified because 7.0.2 (or 7.x) wasn't on the list, but it's stock 7.0.2 rather than CVS. Fixed in git. Thanks. sizeof_glsl_type returns the wrong value for GL_FLOAT_MAT4x3: it returns 12 but it should be 16. |
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.