From: Ian Romanick Date: Thu, 15 Jun 2017 05:11:23 +0000 (-0700) Subject: i965: Fix incorrect comment X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=691beaf2410a1892ad95e95f3cf2ca3915120864;p=mesa.git i965: Fix incorrect comment There is no intel_miptree_slice_has_hiz function, but there is a intel_miptree_level_has_hiz function. I assume that's the correct one to use. Signed-off-by: Ian Romanick Reviewed-by: Jason Ekstrand --- diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.h b/src/mesa/drivers/dri/i965/intel_mipmap_tree.h index a866f7aa608..f4a692527b6 100644 --- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.h +++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.h @@ -561,7 +561,7 @@ struct intel_mipmap_tree * To allocate the hiz buffer, use intel_miptree_alloc_hiz(). * * To determine if hiz is enabled, do not check this pointer. Instead, use - * intel_miptree_slice_has_hiz(). + * intel_miptree_level_has_hiz(). */ struct intel_miptree_aux_buffer *hiz_buf;