projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ee415c
)
i965: upload WM state for _NEW_POLYGON on sandybridge
author
Zhenyu Wang
<zhenyuw@linux.intel.com>
Tue, 7 Dec 2010 09:02:02 +0000
(17:02 +0800)
committer
Zhenyu Wang
<zhenyuw@linux.intel.com>
Tue, 7 Dec 2010 09:05:02 +0000
(17:05 +0800)
Be sure polygon stipple mode is updated. This fixes 'gamma' demo.
src/mesa/drivers/dri/i965/gen6_wm_state.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/gen6_wm_state.c
b/src/mesa/drivers/dri/i965/gen6_wm_state.c
index a039d7df29d366769ef022d5eed8236669f71344..333c2a78424d1faeed60fd18662840bf19d6f0d0 100644
(file)
--- a/
src/mesa/drivers/dri/i965/gen6_wm_state.c
+++ b/
src/mesa/drivers/dri/i965/gen6_wm_state.c
@@
-178,7
+178,7
@@
upload_wm_state(struct brw_context *brw)
const struct brw_tracked_state gen6_wm_state = {
.dirty = {
.mesa = (_NEW_LINE | _NEW_POLYGONSTIPPLE | _NEW_COLOR | _NEW_BUFFERS |
- _NEW_PROGRAM_CONSTANTS),
+ _NEW_PROGRAM_CONSTANTS
| _NEW_POLYGON
),
.brw = (BRW_NEW_CURBE_OFFSETS |
BRW_NEW_FRAGMENT_PROGRAM |
BRW_NEW_NR_WM_SURFACES |