summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2015-07-14 10:16:22 -0700
committerChad Versace <[email protected]>2015-07-14 10:16:22 -0700
commitcb57bff36c5b8f449f4f9738e71d5359d9090fc8 (patch)
tree84cb51f962efc30962622f0e0db6817c62832ab6 /include
parent8ae8e14ba7e5628f4bf3e396fe48f3b46649107b (diff)
vk/0.132: Add vkDestroyShader()
Diffstat (limited to 'include')
-rw-r--r--include/vulkan/vulkan.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/vulkan/vulkan.h b/include/vulkan/vulkan.h
index 015ab11d890..91d67156126 100644
--- a/include/vulkan/vulkan.h
+++ b/include/vulkan/vulkan.h
@@ -2038,6 +2038,7 @@ typedef VkResult (VKAPI *PFN_vkCreateDepthStencilView)(VkDevice device, const Vk
typedef VkResult (VKAPI *PFN_vkCreateShaderModule)(VkDevice device, const VkShaderModuleCreateInfo* pCreateInfo, VkShaderModule* pShaderModule);
typedef VkResult (VKAPI *PFN_vkDestroyShaderModule)(VkDevice device, VkShaderModule shaderModule);
typedef VkResult (VKAPI *PFN_vkCreateShader)(VkDevice device, const VkShaderCreateInfo* pCreateInfo, VkShader* pShader);
+typedef VkResult (VKAPI *PFN_vkDestroyShader)(VkDevice device, VkShader shader);
typedef VkResult (VKAPI *PFN_vkCreatePipelineCache)(VkDevice device, const VkPipelineCacheCreateInfo* pCreateInfo, VkPipelineCache* pPipelineCache);
typedef size_t (VKAPI *PFN_vkGetPipelineCacheSize)(VkDevice device, VkPipelineCache pipelineCache);
typedef VkResult (VKAPI *PFN_vkGetPipelineCacheData)(VkDevice device, VkPipelineCache pipelineCache, void* pData);
@@ -2402,6 +2403,10 @@ VkResult VKAPI vkCreateShader(
const VkShaderCreateInfo* pCreateInfo,
VkShader* pShader);
+VkResult VKAPI vkDestroyShader(
+ VkDevice device,
+ VkShader shader);
+
VkResult VKAPI vkCreatePipelineCache(
VkDevice device,
const VkPipelineCacheCreateInfo* pCreateInfo,