diff options
author | José Fonseca <[email protected]> | 2010-10-13 20:25:17 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-10-13 20:25:57 +0100 |
commit | ae00e34e4b0d3be247b0538b60810176397c7915 (patch) | |
tree | 51ec5a1af3914e89855f2c0ee8b83f0eb6deca30 /src/glsl | |
parent | 60c5d4735d5fa5642c84f6d7c3847ac213efcb53 (diff) |
llvmpipe: Generalize the x8z24 fast path to all depth formats.
Together with the previous commit, this generalize the benefits of
d2cf757f44f4ee5554243f3279483a25886d9927 to all depth formats, in
particular:
- simpler float -> 24unorm conversion
- avoid unsigned comparisons (not directly supported on SSE) by aligning
to the least significant bit
- avoid unecessary/repeated mask ANDing
Verified with trivial/tri-z that the exact same assembly is produced for
X8Z24.
Diffstat (limited to 'src/glsl')
0 files changed, 0 insertions, 0 deletions