i965: Fix incorrect comment
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 15 Jun 2017 05:11:23 +0000 (22:11 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 20 Jun 2017 18:07:01 +0000 (11:07 -0700)
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@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/intel_mipmap_tree.h

index a866f7aa6087c5c7008b5c983bb247b7b3f6db49..f4a692527b61577b539318548b5843be9ef9d0ee 100644 (file)
@@ -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;