summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_emit.c
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2009-06-08 19:55:33 -0700
committerCorbin Simpson <[email protected]>2009-06-08 19:55:33 -0700
commitffa1972efb2100fd9a58e3add856852321c3c8ca (patch)
treedee791cfd1003013d76cc9cb1caeb5af279a9e87 /src/gallium/drivers/r300/r300_emit.c
parent19a54d9f1055c366fd77026dd67007a8d5921f58 (diff)
r300-gallium: Don't emit UCP planes for SW TCL.
Diffstat (limited to 'src/gallium/drivers/r300/r300_emit.c')
-rw-r--r--src/gallium/drivers/r300/r300_emit.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c
index d81abe4d0b2..818880cd387 100644
--- a/src/gallium/drivers/r300/r300_emit.c
+++ b/src/gallium/drivers/r300/r300_emit.c
@@ -63,6 +63,10 @@ void r300_emit_clip_state(struct r300_context* r300,
struct r300_screen* r300screen = r300_screen(r300->context.screen);
CS_LOCALS(r300);
+ if (!r300screen->caps->has_tcl) {
+ return;
+ }
+
BEGIN_CS(5 + (6 * 4));
OUT_CS_REG(R300_VAP_PVS_VECTOR_INDX_REG,
(r300screen->caps->is_r500 ?