diff options
author | Roland Scheidegger <[email protected]> | 2013-02-08 18:42:17 -0800 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2013-02-08 18:54:40 -0800 |
commit | 75d99673a8f47f62458034b0566d6c0221fae5d1 (patch) | |
tree | e55fb994549b7747626e3f66a1d9c04e2a8e0e19 /.gitattributes | |
parent | 4f1d757b8617e83f6a5e55f8dd9c8ddd45e32da3 (diff) |
softpipe: clean up lod computation
This should handle the new lod_zero modifier more correctly.
The runtime-conditional is a bit more complex however we now also do
scalar lod computation when appropriate which should more than make up for it.
The refactoring should also fix an issue with explicit lods
(lod clamp wasn't applied to them).
Also, always pass lod as the 5th element from tgsi executor, which simplifies
things (get rid of annoying conditionals later).
v2: based on Brian's feedback, use switch in a couple of places, fix up
some function parameter names, fix up comments.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions