[Mesa-dev] [PATCH 1/9] i965: Fix incorrect comment
Ian Romanick
idr at freedesktop.org
Fri Jun 16 21:01:49 UTC 2017
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
More information about the mesa-dev
mailing list