commit | 2b5c5c0dcf16062676ecfdf5efb7de650a4c5938 | [log] [tgz] |
---|---|---|
author | Brian Paul <brianp@vmware.com> | Thu Mar 04 15:50:19 2010 -0700 |
committer | Brian Paul <brianp@vmware.com> | Thu Mar 04 15:56:55 2010 -0700 |
tree | 82b85041b5848371a7162e28490ee3b65f0e603e | |
parent | 946edea794646443abde05363294fed430d8d6f1 [diff] |
gallivm: implement texture border color, plus tweaks to some wrap modes The progs/test/texwrap demo looks pretty good, but there are still some tiny differences from softpipe. There may be a sub-pixel texcoord interpolation error somewhere. There's some room for optimization. Many of the wrap modes compute intermediate values that are constant for the texture size (see the min/max values). These could be computed earlier and stored somewhere for later use.