diff options
author | Zhenyu Wang <[email protected]> | 2010-11-02 11:08:58 +0800 |
---|---|---|
committer | Zhenyu Wang <[email protected]> | 2010-11-02 16:06:13 +0800 |
commit | aedc270966a3a6563d8c6eaf1f41095ab9cfef3e (patch) | |
tree | 7c4f775b99fc8bf68b257c5cabecde44ca56dda9 /src/mesa | |
parent | 16ee7a55ae269612263468195f2af998cb9ef695 (diff) |
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
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/gen6_wm_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/gen6_wm_state.c b/src/mesa/drivers/dri/i965/gen6_wm_state.c index 36d4ab93ba9..ea5418bacf1 100644 --- a/src/mesa/drivers/dri/i965/gen6_wm_state.c +++ b/src/mesa/drivers/dri/i965/gen6_wm_state.c @@ -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, |