From aedc270966a3a6563d8c6eaf1f41095ab9cfef3e Mon Sep 17 00:00:00 2001 From: Zhenyu Wang Date: Tue, 2 Nov 2010 11:08:58 +0800 Subject: 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 --- src/mesa/drivers/dri/i965/gen6_wm_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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, -- cgit v1.2.3