http://bugs.freedesktop.org/show_bug.cgi?id=13751

           Summary: glGetActiveUniform returns size in wrong units
           Product: Mesa
           Version: unspecified
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Page 81 of the the OpenGL 2.1 spec states "the value in size is in units of the
type returned in type". Mesa 7.0.2, however, returns a count of scalars. I will
attach a test program which demonstrates this: it queries a 4x4 matrix and
receives a size of 16 instead of 1.

I haven't written a test for it, but eye-balling the code for glGetActiveAttrib
makes me suspect that the same bug is present there.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to