From 61d3d49820ebcdc8113f9471acee4f4a87f80ceb Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Wed, 27 Jan 2016 17:22:20 -0800 Subject: [PATCH] anv: Fix comment for anv_meta_state arrays Array element i is for 2^i samples, not log2(i) samples. --- src/vulkan/anv_private.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vulkan/anv_private.h b/src/vulkan/anv_private.h index 43d4781dc20..e328d3dcd71 100644 --- a/src/vulkan/anv_private.h +++ b/src/vulkan/anv_private.h @@ -565,7 +565,7 @@ struct anv_meta_state { VkAllocationCallbacks alloc; /** - * Use array element `i` to clear an image with `log2(i)` samples. + * Use array element `i` for images with `2^i` samples. */ struct { /** @@ -601,7 +601,7 @@ struct anv_meta_state { struct { /** - * Use pipeline `i` to resolve an image with `log2(i)` samples. + * Use pipeline `i` for images with `2^i` samples. */ VkPipeline pipelines[4]; -- 2.30.2