diff options
author | Topi Pohjolainen <[email protected]> | 2017-06-28 08:33:14 +0300 |
---|---|---|
committer | Topi Pohjolainen <[email protected]> | 2017-07-18 21:35:03 +0300 |
commit | ee97b78a3e497a1f3b4c71d5fdfccb44da7a1c3a (patch) | |
tree | f986c17f009c7fcc5eec4853d5ee2af5eb5c79fe | |
parent | 38f3d03ea902bde384eddb158a90fc07d113740c (diff) |
i965: Mark read-only args as const in intel_miptree_supports_hiz()
Reviewed-by: Emil Velikov <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Signed-off-by: Topi Pohjolainen <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 4 |
1 files 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; |