[Mesa-dev] [PATCH 1/9] i965: Fix incorrect comment
Jason Ekstrand
jason at jlekstrand.net
Fri Jun 16 22:53:42 UTC 2017
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
On Fri, Jun 16, 2017 at 2:01 PM, Ian Romanick <idr at freedesktop.org> wrote:
> From: Ian Romanick <ian.d.romanick at intel.com>
>
> 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 <ian.d.romanick at intel.com>
> ---
> 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 f7b8e67..e672f50 100644
> --- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.h
> +++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.h
> @@ -571,7 +571,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_hiz_buffer *hiz_buf;
>
> --
> 2.9.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170616/4b6697dc/attachment.html>
More information about the mesa-dev
mailing list