st/mesa: add option to choose a texture format that we won't render to.
authorDave Airlie <airlied@redhat.com>
Thu, 7 Oct 2010 04:04:03 +0000 (14:04 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 12 Oct 2010 23:30:04 +0000 (09:30 +1000)
commit06642c61757b459f4f9283b721ad93b6f15386a7
tree02aecacbfc1b6d495cf939cf6cd8073b3f3f308b
parentd8f6ef456581644ab9444a1ed23542c2b0fff9e4
st/mesa: add option to choose a texture format that we won't render to.

We need a texture to put the drawpixels stuff into, an S8 texture is less
memory/bandwidth than the 32-bit X24S8, but we might not be able to render
directly to an S8, so this lets us specify we won't be rendering to this
texture.
src/mesa/state_tracker/st_cb_drawpixels.c
src/mesa/state_tracker/st_format.c
src/mesa/state_tracker/st_format.h