From: Chad Versace Date: Thu, 28 Jan 2016 01:22:20 +0000 (-0800) Subject: anv: Fix comment for anv_meta_state arrays X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=61d3d49820ebcdc8113f9471acee4f4a87f80ceb;p=mesa.git anv: Fix comment for anv_meta_state arrays Array element i is for 2^i samples, not log2(i) samples. --- 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];