Mesa (master): i965: Declare read-only input to level/layer check const
Topi Pohjolainen
tpohjola at kemper.freedesktop.org
Wed Nov 23 09:14:06 UTC 2016
Module: Mesa
Branch: master
Commit: dfd6088b3a8ca250ed7209f4583423cbbc293d8b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dfd6088b3a8ca250ed7209f4583423cbbc293d8b
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date: Fri Jun 10 18:16:22 2016 +0300
i965: Declare read-only input to level/layer check const
Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
---
src/mesa/drivers/dri/i965/intel_mipmap_tree.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.h b/src/mesa/drivers/dri/i965/intel_mipmap_tree.h
index 29228b8..943c5a5 100644
--- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.h
+++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.h
@@ -805,7 +805,7 @@ intel_lower_compressed_format(struct brw_context *brw, mesa_format format);
/** \brief Assert that the level and layer are valid for the miptree. */
static inline void
-intel_miptree_check_level_layer(struct intel_mipmap_tree *mt,
+intel_miptree_check_level_layer(const struct intel_mipmap_tree *mt,
uint32_t level,
uint32_t layer)
{
More information about the mesa-commit
mailing list