i965: refresh wm push constant also for BRW_NEW_FRAMENT_PROGRAM on gen6

Fix compiz crash.

https://bugs.freedesktop.org/show_bug.cgi?id=31124
This commit is contained in:
Zhenyu Wang
2010-11-02 11:08:58 +08:00
parent 16ee7a55ae
commit aedc270966
+1 -1
View File
@@ -73,7 +73,7 @@ prepare_wm_constants(struct brw_context *brw)
const struct brw_tracked_state gen6_wm_constants = {
.dirty = {
.mesa = _NEW_PROGRAM_CONSTANTS,
.brw = 0,
.brw = BRW_NEW_FRAGMENT_PROGRAM,
.cache = 0,
},
.prepare = prepare_wm_constants,