[Mesa-dev] [PATCH 03/16] i965: Mark read-only args as const in intel_miptree_supports_hiz()
Topi Pohjolainen
topi.pohjolainen at gmail.com
Mon Jul 17 13:34:54 UTC 2017
Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
---
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 b9a00caad2..69a9328d6c 100644
--- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
+++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
@@ -217,8 +217,8 @@ intel_miptree_supports_ccs(struct brw_context *brw,
}
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.11.0
More information about the mesa-dev
mailing list