bug 14462: endianness of code for shader modules (WIP)
authorChia-I Wu <olv@lunarg.com>
Mon, 26 Oct 2015 11:22:06 +0000 (19:22 +0800)
committerChia-I Wu <olv@lunarg.com>
Fri, 30 Oct 2015 12:49:23 +0000 (20:49 +0800)
Change the type of pCode to uint32_t*.

https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14462

include/vulkan.h

index b067b83..518300f 100644 (file)
@@ -1522,7 +1522,7 @@ typedef struct {
     VkStructureType                             sType;
     const void*                                 pNext;
     size_t                                      codeSize;
-    const void*                                 pCode;
+    const uint32_t*                             pCode;
     VkShaderModuleCreateFlags                   flags;
 } VkShaderModuleCreateInfo;