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





------- Comment #2 from [EMAIL PROTECTED]  2007-12-20 08:13 PST -------
(In reply to comment #0)
> These are all bugs I noticed while trying to track another bug through the 
> Mesa
> source. I'd be happy to work on a patch during the next few weeks, but I'd to
> first check which are genuine bugs (i.e., oversights) and which are just due 
> to
> things being incomplete and are being worked on.
> 
> - glGetUniformLocation doesn't allow array elements to be queried (there are
> some comments in the code that seem to indicate that this is known)

A known issue.

> - glUniformMatrix ignores the count argument totally

a bug

> - glUniform1i only allows 1 sampler to be set in an array

known issue

> - glUniform* does not validate the type from the entry point against the type
> of the uniform

bug

> - glUniform* raises an error if location == -1, although this is defined as a
> no-op in the standard

bug

> - glUniform* does not convert int/float to boolean when setting a boolean
> uniform

bug


> - glUniform* does not allow count to exceed the size of a uniform array (which
> is defined as legal in the standard, with excess elements ignored)

bug


> - in glUniform*, a count of around 2^30 and 4-element vectors may lead to an
> integer overflow when checking for array overrun

bug

> - many of the bugs in glUniform* also apply to glUniformMatrix*

I probably won't get to fix these until next year.  Feel free to post
patches...


-- 
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.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to