projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98bc311
)
R6xx, add edge rules for triangles
author
Cooper Yuan
<cooperyuan@gmail.com>
Thu, 28 May 2009 20:51:49 +0000
(16:51 -0400)
committer
Alex Deucher
<alexdeucher@gmail.com>
Thu, 28 May 2009 20:51:49 +0000
(16:51 -0400)
src/mesa/drivers/dri/r600/r700_state.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r600/r700_state.c
b/src/mesa/drivers/dri/r600/r700_state.c
index 117d0add8b8e497b6c187232b747bf3775ff6176..d45580178da7d62ede5222f9c0e3d75a4cdf8ab9 100644
(file)
--- a/
src/mesa/drivers/dri/r600/r700_state.c
+++ b/
src/mesa/drivers/dri/r600/r700_state.c
@@
-642,6
+642,9
@@
void r700SetRenderTarget(context_t *context)
r700->PA_SC_CLIPRECT_3_TL.u32All = r700->PA_SC_CLIPRECT_0_TL.u32All;
r700->PA_SC_CLIPRECT_3_BR.u32All = r700->PA_SC_CLIPRECT_0_BR.u32All;
+ /* edgerule for triangles, points, recs, lines */
+ r700->PA_SC_EDGERULE.u32All = 0x555AA96A;
+
/* more....2d clip */
SETbit(r700->PA_SC_GENERIC_SCISSOR_TL.u32All, WINDOW_OFFSET_DISABLE_bit);
SETfield(r700->PA_SC_GENERIC_SCISSOR_TL.u32All, context->radeon.dri.drawable->x,