[Mesa-dev] [Bug 29844] New: (7.8.2) glGetActiveUniform incorrectly handles structs in shaders

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 27 13:19:23 PDT 2010


           Summary: (7.8.2) glGetActiveUniform incorrectly handles structs
                    in shaders
           Product: Mesa
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: vladimir at pobox.com

Given a struct in a shader, e.g.:

struct MyStruct {
  float x;
  float y;
uniform MyStruct u_struct;

glGetActiveUniform is supposed to enumerate "u_struct.x" and "u_struct.y"
separately.  In Mesa 7.8.2, it only enumerates "u_struct".

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

More information about the mesa-dev mailing list