Mesa (master): i965: Fix incorrect comment

Ian Romanick idr at kemper.freedesktop.org
Tue Jun 20 18:09:02 UTC 2017


Module: Mesa
Branch: master
Commit: 691beaf2410a1892ad95e95f3cf2ca3915120864
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=691beaf2410a1892ad95e95f3cf2ca3915120864

Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jun 14 22:11:23 2017 -0700

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 <ian.d.romanick at intel.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

---

 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 a866f7aa60..f4a692527b 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;
 




More information about the mesa-commit mailing list