assert(pCreateInfo->sType == VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO);
- uint32_t client_version;
- if (pCreateInfo->pApplicationInfo &&
- pCreateInfo->pApplicationInfo->apiVersion != 0) {
- client_version = pCreateInfo->pApplicationInfo->apiVersion;
- } else {
- client_version = VK_API_VERSION_1_0;
- }
-
if (pAllocator == NULL)
pAllocator = &default_alloc;
return vk_error(instance, result);
}
- instance->apiVersion = client_version;
+ instance->apiVersion = LVP_API_VERSION;
instance->physicalDeviceCount = -1;
// _mesa_locale_init();
output : 'lvp_icd.@0@.json'.format(host_machine.cpu()),
command : [
prog_python, '@INPUT0@',
- '--api-version', '1.1', '--xml', '@INPUT1@',
+ '--api-version', '1.0', '--xml', '@INPUT1@',
'--lib-path', join_paths(module_dir, icd_file_name),
'--out', '@OUTPUT@',
],