vk/vulkan.h: Add a couple of size fields for specialization constants
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 15 Jul 2015 00:12:39 +0000 (17:12 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 15 Jul 2015 00:12:39 +0000 (17:12 -0700)
include/vulkan/vulkan.h

index fa9f6085d75ccfcf57764d2658caf042aa1e3acb..d5d699d559b509a20bb3e012d2e919b6ba278cda 100644 (file)
@@ -1554,12 +1554,14 @@ typedef struct {
 
 typedef struct {
     uint32_t                                    constantId;
+    size_t                                      size;
     uint32_t                                    offset;
 } VkSpecializationMapEntry;
 
 typedef struct {
     uint32_t                                    mapEntryCount;
     const VkSpecializationMapEntry*             pMap;
+    const size_t                                dataSize;
     const void*                                 pData;
 } VkSpecializationInfo;