summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2012-12-17 22:06:40 +0100
committerRoland Scheidegger <[email protected]>2012-12-18 01:57:35 +0100
commitdc613f11ddf1f3a6e10c2d99830fb1a84fdb55b2 (patch)
tree6e8a42e76939548f49617ab40ce971cb0fe2d7b8 /src/gallium/winsys
parent12f3b3d43732b6f9dbed72457a75b131ad621793 (diff)
gallivm: fix conversion for pure integer formats
Since the idea is to just expand or shrink the bit width but not otherwise do conversion we also need to adjust the sign bit according to src, otherwise the conversion code will incorrectly clamp the values. (Since this only works for casting to ordinary floats the norm and fixed bits should always be fine.) This fixes the remaining piglit attribs GL3 failures. Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/winsys')
0 files changed, 0 insertions, 0 deletions