i965: Don't try to use the ctx->ReadBuffer when asked to blorp miptrees.
authorEric Anholt <eric@anholt.net>
Thu, 13 Feb 2014 23:58:21 +0000 (15:58 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 18 Feb 2014 17:56:32 +0000 (09:56 -0800)
commitbbd85ad27c0051697b49260348c686a1b947e884
tree45e91ed28f4b576699f525d91a58f5baf204ad6e
parentaf4f758a4422aaf80fc5c2eda306485961eaf1be
i965: Don't try to use the ctx->ReadBuffer when asked to blorp miptrees.

So far it's happened to be that we're only ever calling
intel_miptree_blit() (up/downsampling) from the ReadBuffer, but I stumbled
over a null ReadBuffer case when debugging later parts of the series.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_blorp_blit.cpp