[Mesa-dev] [Bug 82668] New: Can't set int attributes to certain values on 32-bit
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Aug 15 08:07:52 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=82668
Priority: medium
Bug ID: 82668
Assignee: mesa-dev at lists.freedesktop.org
Summary: Can't set int attributes to certain values on 32-bit
Severity: normal
Classification: Unclassified
OS: All
Reporter: neil at linux.intel.com
Hardware: Other
Status: NEW
Version: unspecified
Component: Mesa core
Product: Mesa
On 32-bit builds you can't set int attributes using glUniformI* to certain
values if they happen to look like a signalling NaN number when interpreted as
a float. This is similar to bug 81150 except that it is not limited to the i965
driver.
The problem is that the attribute values are always stored in float variables
even if they are actually integers. The values are converted to float using
INT_AS_FLT and UINT_AS_FLT. I think the best thing to do would be to get rid of
these functions and have FLT_AS_UINT instead. Then we can change all of the
variables to store the values in GLuints instead of floats.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140815/3d0d0e55/attachment.html>
More information about the mesa-dev
mailing list