summaryrefslogtreecommitdiffstats
path: root/include/pci_ids
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-12-11 16:18:36 +0100
committerMarek Olšák <[email protected]>2011-12-12 08:04:51 +0100
commitfc52534f012837a39c03a764eb611d460210514a (patch)
tree43ce8892cc63d6cdc010094402e12390d8699a9a /include/pci_ids
parent4298c88f656c191f3daca0c341850dd8c23f5f92 (diff)
mesa: fix possible precision issues in pack/unpack/fetch functions
GLfloat doesn't have enough precision to exactly represent 0xffffff and 0xffffffff. (and a reciprocal of those, if I am not mistaken) If -ffast-math is enabled, using GLfloat causes assertion failures in: - fbo-blit-d24s8 - fbo-depth-sample-compare - fbo-readpixels-depth-formats - glean/depthStencil For example: fbo-depth-sample-compare: main/format_unpack.c:1769: unpack_float_z_Z24_X8: Assertion `dst[i] <= 1.0F' failed. Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'include/pci_ids')
0 files changed, 0 insertions, 0 deletions