From ee97b78a3e497a1f3b4c71d5fdfccb44da7a1c3a Mon Sep 17 00:00:00 2001 From: Topi Pohjolainen Date: Wed, 28 Jun 2017 08:33:14 +0300 Subject: [PATCH] i965: Mark read-only args as const in intel_miptree_supports_hiz() Reviewed-by: Emil Velikov Reviewed-by: Jason Ekstrand Signed-off-by: Topi Pohjolainen --- src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c index 5f60abb3de3..04ed017a10e 100644 --- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c +++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c @@ -222,8 +222,8 @@ intel_tiling_supports_hiz(const struct brw_context *brw, unsigned tiling) } static bool -intel_miptree_supports_hiz(struct brw_context *brw, - struct intel_mipmap_tree *mt) +intel_miptree_supports_hiz(const struct brw_context *brw, + const struct intel_mipmap_tree *mt) { if (!brw->has_hiz) return false; -- 2.30.2