anv: Allow lookup of vkEnumerateInstanceVersion without an instance
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 1 May 2018 16:59:24 +0000 (09:59 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 1 May 2018 21:45:51 +0000 (14:45 -0700)
Fixes: cbab2d1da5edfe9df27a010adf8b1aa9dbee473b
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/intel/vulkan/anv_device.c

index 11ab5e0c1dda3aaccce5dd1dc0855bab908dde78..856035b8b9143c15690817ea98349606f481f8f5 100644 (file)
@@ -1179,6 +1179,7 @@ PFN_vkVoidFunction anv_GetInstanceProcAddr(
 
    LOOKUP_ANV_ENTRYPOINT(EnumerateInstanceExtensionProperties);
    LOOKUP_ANV_ENTRYPOINT(EnumerateInstanceLayerProperties);
+   LOOKUP_ANV_ENTRYPOINT(EnumerateInstanceVersion);
    LOOKUP_ANV_ENTRYPOINT(CreateInstance);
 
 #undef LOOKUP_ANV_ENTRYPOINT