projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5db209
)
vk/vulkan.h: Add a couple of size fields for specialization constants
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Wed, 15 Jul 2015 00:12:39 +0000
(17:12 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Wed, 15 Jul 2015 00:12:39 +0000
(17:12 -0700)
include/vulkan/vulkan.h
patch
|
blob
|
history
diff --git
a/include/vulkan/vulkan.h
b/include/vulkan/vulkan.h
index fa9f6085d75ccfcf57764d2658caf042aa1e3acb..d5d699d559b509a20bb3e012d2e919b6ba278cda 100644
(file)
--- 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;