diff options
author | Cooper Yuan <cooperyuan@gmail.com> | 2009-09-03 17:06:18 +0800 |
---|---|---|
committer | Cooper Yuan <cooperyuan@gmail.com> | 2009-09-03 17:06:18 +0800 |
commit | e938d4a0535a6dc18c170ac40585424754961cc4 (patch) | |
tree | f106c5a0cfb99ba44be48c08931baba2492e72e2 | |
parent | c19b52f10fe11282f0a3466eda2eeb1d422b7aa3 (diff) |
r300g: specify point/line/triangle have stuffed texture coord
-rw-r--r-- | src/gallium/drivers/r300/r300_state_invariant.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_state_invariant.c b/src/gallium/drivers/r300/r300_state_invariant.c index 1e92374a4e..7d822fec48 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. |