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:
Topi Pohjolainen 2017-06-28 08:33:14 +03:00
parent 38f3d03ea9
commit ee97b78a3e

View file

@ -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;