Mesa (master): radv: fix a comment in radv_meta_buffer_to_image_cs_r32g32b32()

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Oct 26 08:49:14 UTC 2018


Module: Mesa
Branch: master
Commit: 619824577558f9e3dd16bcbb7a04eefab565478d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=619824577558f9e3dd16bcbb7a04eefab565478d

Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Wed Oct 24 08:50:25 2018 +0200

radv: fix a comment in radv_meta_buffer_to_image_cs_r32g32b32()

Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>

---

 src/amd/vulkan/radv_meta_bufimage.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/amd/vulkan/radv_meta_bufimage.c b/src/amd/vulkan/radv_meta_bufimage.c
index de7e0b1e3e..56f1620db5 100644
--- a/src/amd/vulkan/radv_meta_bufimage.c
+++ b/src/amd/vulkan/radv_meta_bufimage.c
@@ -1560,7 +1560,7 @@ radv_meta_buffer_to_image_cs_r32g32b32(struct radv_cmd_buffer *cmd_buffer,
 
 	/* This special btoi path for R32G32B32 formats will write the linear
 	 * image as a buffer with the same underlying memory. The compute
-	 * shader will clear all components separately using a R32 format.
+	 * shader will copy all components separately using a R32 format.
 	 */
 	create_buffer_from_image(cmd_buffer, dst,
 				 VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT,




More information about the mesa-commit mailing list