i965: Don't require spans (swrast) support to consider a format FBO complete.
authorEric Anholt <eric@anholt.net>
Tue, 15 Nov 2011 20:15:37 +0000 (12:15 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 22 Nov 2011 21:58:38 +0000 (13:58 -0800)
commit925356c8c0b21998a1f53f042269818c19163385
tree0c0cc9dee619b9d663558795ed3994f4284b5544
parentca10b2d4494798405a5fd654201291944645af5d
i965: Don't require spans (swrast) support to consider a format FBO complete.

We don't want to go writing GetRow/PutRow for every format required by
GL 3.0, when it's very hard to get those functions called, and in
every case we want to make swrast do direct mapping through
MapRenderbuffer anyway.

This causes MESA_FORMAT_R11_G11_B10_FLOAT to be considered complete on gen6.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/intel/intel_fbo.c