summaryrefslogtreecommitdiffstats
path: root/include/vulkan
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-07-14 17:12:39 -0700
committerJason Ekstrand <[email protected]>2015-07-14 17:12:39 -0700
commit553b4434caa116ca1f22fc77b46486823e4219a8 (patch)
tree43bdcc47d8a06017484298aa57d224824712e6bd /include/vulkan
parente5db209d54c313965b50fbe7403e0df8df551109 (diff)
vk/vulkan.h: Add a couple of size fields for specialization constants
Diffstat (limited to 'include/vulkan')
-rw-r--r--include/vulkan/vulkan.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vulkan/vulkan.h b/include/vulkan/vulkan.h
index fa9f6085d75..d5d699d559b 100644
--- a/include/vulkan/vulkan.h
+++ b/include/vulkan/vulkan.h
@@ -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;