summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/os
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@vmware.com>2010-10-09 00:14:11 +0200
committerRoland Scheidegger <sroland@vmware.com>2010-10-09 00:36:38 +0200
commit175cdfd49100b9c9d248dda911181afae6f492f4 (patch)
treef0239fba8050e8609f3f96fefe41e6e4aeb93c01 /src/gallium/auxiliary/os
parent2cc6da85d6e60e80d0b5b86fe42f8f82073b5d51 (diff)
gallivm: optimize soa linear clamp to edge wrap mode a bit
Clamp against 0 instead of -0.5, which simplifies things. The former version would have resulted in both int coords being zero (in case of coord being smaller than 0) and some "unused" weight value, whereas now the int coords will be 0 and 1, but weight will be 0, hence the lerp should produce the same value. Still not happy about differences between normalized and non-normalized...
Diffstat (limited to 'src/gallium/auxiliary/os')
0 files changed, 0 insertions, 0 deletions