swrast: Don't do Z24S8 drawpixels fast-paths with Z32_X24S8 input data.
authorEric Anholt <eric@anholt.net>
Sat, 3 Dec 2011 01:32:53 +0000 (17:32 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 14 Dec 2011 21:17:45 +0000 (13:17 -0800)
commit657f3214e7b2df525fb0637f764682c1157b766e
tree0c5e6fbad2685ac823e9c48caba17122c9eeeb63
parent5d1de8bc7d83a20ed5ace7b408e7d3e1da7f9087
swrast: Don't do Z24S8 drawpixels fast-paths with Z32_X24S8 input data.

The cool part was that in the "fbo-depthstencil -drawpixels
GL_DEPTH24_STENCIL8 32F_24_8_REV" testcase, the shifting happened to
end up with a value awfully close to the expected value, except for
every other pixel being 0 (the stencil value, shifted away to
nothing).

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/swrast/s_drawpix.c