mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 06:00:10 +01:00
i965: Mark read-only args as const in intel_miptree_supports_hiz()
Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
This commit is contained in:
parent
38f3d03ea9
commit
ee97b78a3e
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue