[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mesa3d-dev
Subject:    [Mesa3d-dev] [Bug 13751] New: glGetActiveUniform returns size in
From:       bugzilla-daemon () freedesktop ! org
Date:       2007-12-20 11:28:59
Message-ID: bug-13751-598 () http ! bugs ! freedesktop ! org/
[Download RAW message or body]

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: mesa3d-dev@lists.sourceforge.net
        ReportedBy: bmerry@gmail.com


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
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic