From 9a8bf42308f437c3895a5bc82024de33713d3cb6 Mon Sep 17 00:00:00 2001 From: Iago Toral Quiroga Date: Fri, 15 Sep 2017 09:06:11 +0200 Subject: i965: emit BRW_NEW_AUX_STATE when we change the fast clear value v2: rename intel_miptree_set_clear_value to intel_miptree_set_clear_color (Jason) Reviewed-by: Jason Ekstrand --- src/mesa/drivers/dri/i965/brw_clear.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers/dri/i965/brw_clear.c') diff --git a/src/mesa/drivers/dri/i965/brw_clear.c b/src/mesa/drivers/dri/i965/brw_clear.c index b9e087ce33b..fe8634b3b34 100644 --- a/src/mesa/drivers/dri/i965/brw_clear.c +++ b/src/mesa/drivers/dri/i965/brw_clear.c @@ -212,7 +212,7 @@ brw_fast_clear_depth(struct gl_context *ctx) } } - mt->fast_clear_color.f32[0] = clear_value; + intel_miptree_set_depth_clear_value(ctx, mt, clear_value); } bool need_clear = false; -- cgit v1.2.3