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

           Summary: glGetUniformLocation doesn't work for sampler types
           Product: Mesa
           Version: CVS
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
        AssignedTo: mesa3d-dev@lists.sourceforge.net
        ReportedBy: [EMAIL PROTECTED]


Created an attachment (id=18220)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=18220)
Add sampler types to sizeof_glsl_type

If you use glGetUniformLocation on a sampler type uniform then you get a
warning about an invalid type. It calls a function called sizeof_glsl_type
which seems to be missing handlers for the sampler types. In older git
revisions this function would return zero and you would get a floating point
exception.


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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to