From 913622fac448650c2dba1c626968f6d7d53d2096 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Mon, 26 Oct 2015 19:22:06 +0800 Subject: [PATCH] bug 14462: endianness of code for shader modules (WIP) Change the type of pCode to uint32_t*. https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14462 --- include/vulkan.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/vulkan.h b/include/vulkan.h index b067b83..518300f 100644 --- a/include/vulkan.h +++ b/include/vulkan.h @@ -1522,7 +1522,7 @@ typedef struct { VkStructureType sType; const void* pNext; size_t codeSize; - const void* pCode; + const uint32_t* pCode; VkShaderModuleCreateFlags flags; } VkShaderModuleCreateInfo; -- 2.7.4