i965: Use the renderbuffer surface size instead of region size for WM surfaces.
authorEric Anholt <eric@anholt.net>
Sat, 5 Sep 2009 00:59:08 +0000 (17:59 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 8 Sep 2009 21:28:23 +0000 (14:28 -0700)
commitea6dab2537998d6910c04cd7bb68a79bee8fda68
tree2aa3e4a6fe105c1bce7dbcd3d80597f31806b080
parent58a57e3fc48b4ba081caa6ffaec24dfad9ed002a
i965: Use the renderbuffer surface size instead of region size for WM surfaces.

For drawing to lower mipmap levels, the region size makes the renderbuffer
be the size of the lowest level, instead of the current level.  On DRI1,
Brian previously found that the RB size was incorrect, so leave this broken
there.
src/mesa/drivers/dri/i965/brw_wm_surface_state.c