r300g: Need to emit a hardware scissor rectangle even if scissor is disabled.
authorMichel Dänzer <daenzer@vmware.com>
Sat, 5 Dec 2009 16:48:00 +0000 (17:48 +0100)
committerMichel Dänzer <michel@daenzer.net>
Sat, 5 Dec 2009 16:59:49 +0000 (17:59 +0100)
commit56a4342a0493ad1d502d4791ab941ef171d36e60
tree11b85592643a25e902404da955921fc3bede05ac
parent01537a84dfe65cd1512d6fbf71e975fad5639432
r300g: Need to emit a hardware scissor rectangle even if scissor is disabled.

Just make it cover the whole framebuffer in that case. Otherwise the kernel CS
checker may complain, e.g. running progs/demos/gearbox. That runs fast now
here, but doesn't look right yet.
src/gallium/drivers/r300/r300_context.h
src/gallium/drivers/r300/r300_emit.c
src/gallium/drivers/r300/r300_state.c