summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2017-06-14 22:11:23 -0700
committerIan Romanick <[email protected]>2017-06-20 11:07:01 -0700
commit691beaf2410a1892ad95e95f3cf2ca3915120864 (patch)
treed86cbd3c29e6a66ca25b811e9d6a61de6654baa9 /src
parent4f00b2bc7e4515257ff9c674259da1264ab2c9a3 (diff)
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 <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/intel_mipmap_tree.h2
1 files changed, 1 insertions, 1 deletions
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;