diff options
| author | Cody Northrop <cody@lunarg.com> | 2015-07-09 18:08:05 -0600 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-07-17 10:05:20 -0600 |
| commit | e91de3b255afc4a84b5bd7a6815278646beee60d (patch) | |
| tree | 1e64e33616e2a78f4e35aaa22828220e41e8e58a /loader/table_ops.h | |
| parent | 860c33b07f995910cf266993a126f67ec641aab1 (diff) | |
| download | usermoji-e91de3b255afc4a84b5bd7a6815278646beee60d.tar.xz | |
icd: Support for command pools
Diffstat (limited to 'loader/table_ops.h')
| -rw-r--r-- | loader/table_ops.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/loader/table_ops.h b/loader/table_ops.h index 601be425..9bcd1296 100644 --- a/loader/table_ops.h +++ b/loader/table_ops.h @@ -118,6 +118,9 @@ static inline void loader_init_device_dispatch_table(VkLayerDispatchTable *table table->DestroyDynamicColorBlendState = (PFN_vkDestroyDynamicColorBlendState) gpa(dev, "vkDestroyDynamicColorBlendState"); table->CreateDynamicDepthStencilState = (PFN_vkCreateDynamicDepthStencilState) gpa(dev, "vkCreateDynamicDepthStencilState"); table->DestroyDynamicDepthStencilState = (PFN_vkDestroyDynamicDepthStencilState) gpa(dev, "vkDestroyDynamicDepthStencilState"); + table->CreateCommandPool = (PFN_vkCreateCommandPool) gpa(dev, "vkCreateCommandPool"); + table->DestroyCommandPool = (PFN_vkDestroyCommandPool) gpa(dev, "vkDestroyCommandPool"); + table->ResetCommandPool = (PFN_vkResetCommandPool) gpa(dev, "vkResetCommandPool"); table->CreateCommandBuffer = (PFN_vkCreateCommandBuffer) gpa(dev, "vkCreateCommandBuffer"); table->DestroyCommandBuffer = (PFN_vkDestroyCommandBuffer) gpa(dev, "vkDestroyCommandBuffer"); table->BeginCommandBuffer = (PFN_vkBeginCommandBuffer) gpa(dev, "vkBeginCommandBuffer"); @@ -347,6 +350,12 @@ static inline void *loader_lookup_device_dispatch_table( return (void *) table->CreateDynamicDepthStencilState; if (!strcmp(name, "DestroyDynamicDepthStencilState")) return (void *) table->DestroyDynamicDepthStencilState; + if (!strcmp(name, "CreateCommandPool")) + return (void *) table->CreateCommandPool; + if (!strcmp(name, "DestroyCommandPool")) + return (void *) table->DestroyCommandPool; + if (!strcmp(name, "ResetCommandPool")) + return (void *) table->ResetCommandPool; if (!strcmp(name, "CreateCommandBuffer")) return (void *) table->CreateCommandBuffer; if (!strcmp(name, "DestroyCommandBuffer")) |
