projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
653a834
)
r200: Fix UMS notto emit stp.
author
Pauli Nieminen
<suokkos@gmail.com>
Mon, 8 Feb 2010 09:49:10 +0000
(11:49 +0200)
committer
Pauli Nieminen
<suokkos@gmail.com>
Tue, 9 Feb 2010 19:38:47 +0000
(21:38 +0200)
Polgon stipples are handled by kernel in UMS. Mark the
state as never to be emited for UMS.
src/mesa/drivers/dri/r200/r200_state_init.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r200/r200_state_init.c
b/src/mesa/drivers/dri/r200/r200_state_init.c
index
e06437b
..
1606553
100644
(file)
--- a/
src/mesa/drivers/dri/r200/r200_state_init.c
+++ b/
src/mesa/drivers/dri/r200/r200_state_init.c
@@
-894,7
+894,10
@@
void r200InitState( r200ContextPtr rmesa )
}
}
- ALLOC_STATE( stp, polygon_stipple, STP_STATE_SIZE, "STP/stp", 0 );
+ if (rmesa->radeon.radeonScreen->kernel_mm)
+ ALLOC_STATE( stp, polygon_stipple, STP_STATE_SIZE, "STP/stp", 0 );
+ else
+ ALLOC_STATE( stp, never, STP_STATE_SIZE, "STP/stp", 0 );
for (i = 0; i < 6; i++)
if (rmesa->radeon.radeonScreen->kernel_mm)