intel: Allow binding a stencil but not a depth buffer.
authorEric Anholt <eric@anholt.net>
Tue, 29 Dec 2009 02:15:06 +0000 (18:15 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 29 Dec 2009 02:52:47 +0000 (18:52 -0800)
commit089144e4e525883995d609af5040b2355043945e
tree56c180a117509744ea0490f8798e7ff7285359cf
parente4df8d32b510a3f00c12477985818c9d42a0b178
intel: Allow binding a stencil but not a depth buffer.

Wine's d3d9 visual.c testcase tries this a lot, so I've added some
piglit tests (fbo-nodepth-test, fbo-nostencil-test, fbo-stencil-only)
and enabled it.
src/mesa/drivers/dri/intel/intel_buffers.c
src/mesa/drivers/dri/intel/intel_fbo.c