st/mesa: don't use util_blit_pixels_writemask() for depth or depth/stencil
authorBrian Paul <brianp@vmware.com>
Tue, 3 Nov 2009 16:30:20 +0000 (09:30 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 3 Nov 2009 16:48:04 +0000 (09:48 -0700)
commite60ebebb392d1d4c47541766737b5a79685a24d5
treea6b5f8218dc831e7c5e9d572c53bc713a3b111c8
parent0197348641614188c400d7c616573bb7f1eea781
st/mesa: don't use util_blit_pixels_writemask() for depth or depth/stencil

util_blit_pixels_writemask() only works for color formats at this time.
Also, it might never work for depth/stencil surfaces since we can't get
handle stencil values in a fragment shader.

Fixes glCopyTexSubImage(GL_DEPTH_COMPONENT).
src/mesa/state_tracker/st_cb_texture.c