diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/mock_icd_generator.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/mock_icd_generator.py b/scripts/mock_icd_generator.py index bf366fea..ec7cddd8 100644 --- a/scripts/mock_icd_generator.py +++ b/scripts/mock_icd_generator.py @@ -55,7 +55,6 @@ SOURCE_CPP_PREFIX = ''' using std::unordered_map; static constexpr uint32_t icd_physical_device_count = 1; -static constexpr uint32_t kSupportedVulkanAPIVersion = VK_API_VERSION_1_1; static unordered_map<VkInstance, std::array<VkPhysicalDevice, icd_physical_device_count>> physical_device_map; // Map device memory handle to any mapped allocations that we'll need to free on unmap @@ -535,7 +534,7 @@ CUSTOM_C_INTERCEPTS = { return VK_SUCCESS; ''', 'vkEnumerateInstanceVersion': ''' - *pApiVersion = kSupportedVulkanAPIVersion; + *pApiVersion = VK_HEADER_VERSION_COMPLETE; return VK_SUCCESS; ''', 'vkEnumerateDeviceLayerProperties': ''' @@ -805,8 +804,7 @@ CUSTOM_C_INTERCEPTS = { return VK_SUCCESS; ''', 'vkGetPhysicalDeviceProperties': ''' - // TODO: Just hard-coding some values for now - pProperties->apiVersion = kSupportedVulkanAPIVersion; + pProperties->apiVersion = VK_HEADER_VERSION_COMPLETE; pProperties->driverVersion = 1; pProperties->vendorID = 0xba5eba11; pProperties->deviceID = 0xf005ba11; |
