From: Cooper Yuan Date: Thu, 3 Sep 2009 09:06:18 +0000 (+0800) Subject: r300g: specify point/line/triangle have stuffed texture coord X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e938d4a0535a6dc18c170ac40585424754961cc4;p=mesa.git r300g: specify point/line/triangle have stuffed texture coord --- diff --git a/src/gallium/drivers/r300/r300_state_invariant.c b/src/gallium/drivers/r300/r300_state_invariant.c index 1e92374a4e9..7d822fec483 100644 --- a/src/gallium/drivers/r300/r300_state_invariant.c +++ b/src/gallium/drivers/r300/r300_state_invariant.c @@ -38,7 +38,9 @@ void r300_emit_invariant_state(struct r300_context* r300) /*** Graphics Backend (GB) ***/ /* Various GB enables */ - OUT_CS_REG(R300_GB_ENABLE, 0x0); + OUT_CS_REG(R300_GB_ENABLE, R300_GB_POINT_STUFF_ENABLE | + R300_GB_LINE_STUFF_ENABLE | + R300_GB_TRIANGLE_STUFF_ENABLE); /* Subpixel multisampling for AA * These are commented out because glisse's CS checker doesn't like them. * I presume these will be re-enabled later.