intel: Don't _mesa_problem when asked for an RB of a texturing-only type.
authorEric Anholt <eric@anholt.net>
Tue, 8 Nov 2011 19:19:45 +0000 (11:19 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 9 Nov 2011 20:04:39 +0000 (12:04 -0800)
commitb5444a6ebd48a2bf4c258be98aac831636164e10
treecf1dfecbe9455ca52ed31e9474d9947e5cc8ffd8
parent01ccddbed6ff970e1018c250ba9044bf06671d25
intel: Don't _mesa_problem when asked for an RB of a texturing-only type.

We want to be able to support some formats for texturing that we can't
render to, which means that some choices for RenderbufferStorage end
up being incomplete (for example, L8 currently).  For these, where we
don't render to them, we don't want to have to make up an rb->DataType
that's only used for GetRow()/PutRow().
src/mesa/drivers/dri/intel/intel_span.c
src/mesa/drivers/dri/intel/intel_tex_format.c