summaryrefslogtreecommitdiff
path: root/src/glsl/ir_constant_expression.cpp
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-10-13 20:25:17 +0100
committerJosé Fonseca <jfonseca@vmware.com>2010-10-13 20:25:57 +0100
commitae00e34e4b0d3be247b0538b60810176397c7915 (patch)
tree51ec5a1af3914e89855f2c0ee8b83f0eb6deca30 /src/glsl/ir_constant_expression.cpp
parent60c5d4735d5fa5642c84f6d7c3847ac213efcb53 (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/ir_constant_expression.cpp')
0 files changed, 0 insertions, 0 deletions