i965/gen6: Move setup of CC state batches to emit time.
authorEric Anholt <eric@anholt.net>
Sat, 22 Oct 2011 17:37:14 +0000 (10:37 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 29 Oct 2011 19:16:15 +0000 (12:16 -0700)
commitf84f3322b44e9828dcbee4791909025369c96f74
tree42a9c2a35897a1a491f6b14ea75b84c96e42df92
parent78188bc53769384fdeb8d7618af882c86530a4d5
i965/gen6: Move setup of CC state batches to emit time.

This is part of a series trying to eliminate the separate prepare()
hook in state upload.  The prepare() hook existed to support the
check_aperture in between calculating state updates and setting up the
batch, but there should be no reason for that any more.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/gen6_cc.c
src/mesa/drivers/dri/i965/gen6_depthstencil.c