mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 18:50:10 +01:00
i965: Declare read-only input to level/layer check const
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
07d070f324
commit
dfd6088b3a
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue