summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_clear.c
diff options
context:
space:
mode:
authorIago Toral Quiroga <[email protected]>2017-09-15 09:06:11 +0200
committerIago Toral Quiroga <[email protected]>2017-09-18 10:47:51 +0200
commit9a8bf42308f437c3895a5bc82024de33713d3cb6 (patch)
tree259c20c71388aa92e4c492ef00cc8f3fc8983c6f /src/mesa/drivers/dri/i965/brw_clear.c
parentca65b9e62d2928c2b96502a8762b84e4e8ecd699 (diff)
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 <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_clear.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_clear.c2
1 files changed, 1 insertions, 1 deletions
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;