http://bugs.freedesktop.org/show_bug.cgi?id=24531
Summary: ARB FP shaders appear to have locale-dependant syntax
Product: Mesa
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Mesa core
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=30410)
--> (http://bugs.freedesktop.org/attachment.cgi?id=30410)
Test program
The parser for ARB FB shaders uses different values for number constants
depending on the locale. It may be using strtod somewhere for parsing numbers
which is locale dependent.
Please see the attached program which renders a rectangle using a shader with
the constant color 0.5, 0.5, 0.5. Under the C locale this appears as a grey
rectangle but under a French locale (which uses ',' as the decimal separator)
it appears as a black rectangle.
This is likely the root cause of this bug in Moblin which is using Mesa 7.6:
http://bugzilla.moblin.org/show_bug.cgi?id=6803
Robert Bragg has tested with Mesa git drivers from Oct 12th and they also
display the bug.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev