summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_context.h
diff options
context:
space:
mode:
authorMichel Dänzer <daenzer@vmware.com>2009-12-05 17:48:00 +0100
committerMichel Dänzer <michel@daenzer.net>2009-12-05 17:59:49 +0100
commit56a4342a0493ad1d502d4791ab941ef171d36e60 (patch)
tree11b85592643a25e902404da955921fc3bede05ac /src/gallium/drivers/r300/r300_context.h
parent01537a84dfe65cd1512d6fbf71e975fad5639432 (diff)
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.
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r--src/gallium/drivers/r300/r300_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h
index dd3f6ac143..11cd9f855f 100644
--- a/src/gallium/drivers/r300/r300_context.h
+++ b/src/gallium/drivers/r300/r300_context.h
@@ -101,6 +101,8 @@ struct r300_sampler_state {
struct r300_scissor_state {
uint32_t scissor_top_left; /* R300_SC_SCISSORS_TL: 0x43e0 */
uint32_t scissor_bottom_right; /* R300_SC_SCISSORS_BR: 0x43e4 */
+ uint32_t no_scissor_top_left; /* R300_SC_SCISSORS_TL: 0x43e0 */
+ uint32_t no_scissor_bottom_right; /* R300_SC_SCISSORS_BR: 0x43e4 */
};
struct r300_texture_state {