diff options
| author | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-06-29 15:39:26 -0600 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-07-07 17:53:20 -0600 |
| commit | be10336228bfabe276ba61adf9d6092971d3bdb7 (patch) | |
| tree | f755f71a6f68cbbdd7b0984c3e0342bcfbacce60 /loader/table_ops.h | |
| parent | e291354abe5eff9de35075020c7bbc00d4d7cf0e (diff) | |
| download | usermoji-be10336228bfabe276ba61adf9d6092971d3bdb7.tar.xz | |
loader: bug 12992: extension and layer support
Much of layers and loader updated to work with
final extension and layer mechanism.
Not everything is working here.
Diffstat (limited to 'loader/table_ops.h')
| -rw-r--r-- | loader/table_ops.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/loader/table_ops.h b/loader/table_ops.h index d65fd30c..430d8113 100644 --- a/loader/table_ops.h +++ b/loader/table_ops.h @@ -370,7 +370,7 @@ static inline void loader_init_instance_core_dispatch_table(VkLayerInstanceDispa table->GetPhysicalDeviceQueueProperties = (PFN_vkGetPhysicalDeviceQueueProperties) gpa(inst, "vkGetPhysicalDeviceQueueProperties"); table->GetPhysicalDeviceMemoryProperties = (PFN_vkGetPhysicalDeviceMemoryProperties) gpa(inst, "vkGetPhysicalDeviceMemoryProperties"); table->GetPhysicalDeviceExtensionProperties = (PFN_vkGetPhysicalDeviceExtensionProperties) gpa(inst, "vkGetPhysicalDeviceExtensionProperties"); - table->GetPhysicalDeviceExtensionCount = (PFN_vkGetPhysicalDeviceExtensionCount) gpa(inst, "vkGetPhysicalDeviceExtensionCount"); + table->GetPhysicalDeviceLayerProperties = (PFN_vkGetPhysicalDeviceLayerProperties) gpa(inst, "vkGetPhysicalDeviceLayerProperties"); } static inline void loader_init_instance_extension_dispatch_table( @@ -414,10 +414,10 @@ static inline void *loader_lookup_instance_dispatch_table( return (void *) table->GetPhysicalDeviceMemoryProperties; if (!strcmp(name, "GetInstanceProcAddr")) return (void *) table->GetInstanceProcAddr; - if (!strcmp(name, "GetPhysicalDeviceExtensionCount")) - return (void *) table->GetPhysicalDeviceExtensionCount; if (!strcmp(name, "GetPhysicalDeviceExtensionProperties")) return (void *) table->GetPhysicalDeviceExtensionProperties; + if (!strcmp(name, "GetPhysicalDeviceLayerProperties")) + return (void *) table->GetPhysicalDeviceLayerProperties; if (!strcmp(name, "DbgCreateMsgCallback")) return (void *) table->DbgCreateMsgCallback; if (!strcmp(name, "DbgDestroyMsgCallback")) |
