From db9b9a13def15c862aa7439628838dc462475bff Mon Sep 17 00:00:00 2001 From: Hans-Kristian Arntzen Date: Tue, 15 Mar 2022 12:49:56 +0100 Subject: [PATCH] cache: Fix misleading comment about chunk alignment. It's 8. Used to be 4 before some other fixes ... Signed-off-by: Hans-Kristian Arntzen --- libs/vkd3d/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/vkd3d/cache.c b/libs/vkd3d/cache.c index d0b2b22b..f309bd81 100644 --- a/libs/vkd3d/cache.c +++ b/libs/vkd3d/cache.c @@ -233,7 +233,7 @@ struct vkd3d_pipeline_blob uint64_t vkd3d_build; uint64_t vkd3d_shader_interface_key; uint8_t cache_uuid[VK_UUID_SIZE]; - uint8_t data[]; /* vkd3d_pipeline_blob_chunks laid out one after the other with u32 alignment. */ + uint8_t data[]; /* vkd3d_pipeline_blob_chunks laid out one after the other with u64 alignment. */ }; /* Used for de-duplicated pipeline cache and SPIR-V hashmaps. */