i965: Reduce fast-pathiness of brw_try_draw_prims, bringing in important checks.
authorEric Anholt <eric@anholt.net>
Thu, 27 Nov 2008 03:22:37 +0000 (19:22 -0800)
committerEric Anholt <eric@anholt.net>
Sat, 29 Nov 2008 01:09:45 +0000 (17:09 -0800)
commit7855b2aef6bd9e9c2d73260b5cd166159b2525c6
tree876c177496b2a64bfb586e05d92fbdd24a9e6695
parentbaaf9779f1d892083238eb1af34cddc0c7541e22
i965: Reduce fast-pathiness of brw_try_draw_prims, bringing in important checks.

Later primitives, even if they caused a full state validate, wouldn't check
that there was enough space in the batchbuffer, occasionally triggering the
sanity check.  We also skipped the aperture space check, even if it would
mean bringing in new programs and associated state.
src/mesa/drivers/dri/i965/brw_draw.c