projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c19b52f
)
r300g: specify point/line/triangle have stuffed texture coord
author
Cooper Yuan
<cooperyuan@gmail.com>
Thu, 3 Sep 2009 09:06:18 +0000
(17:06 +0800)
committer
Cooper Yuan
<cooperyuan@gmail.com>
Thu, 3 Sep 2009 09:06:18 +0000
(17:06 +0800)
src/gallium/drivers/r300/r300_state_invariant.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_state_invariant.c
b/src/gallium/drivers/r300/r300_state_invariant.c
index 1e92374a4e9e965691e7abdb512d4947cd749718..7d822fec483996d767c8f920daaee978e148fa98 100644
(file)
--- 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.