You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
./amber
[ERROR] validation layer (Validation):
Validation Error: [ VUID-VkDeviceCreateInfo-pNext-pNext ] Object 0: handle = 0x5e4978bc0d30, type = VK_OBJECT_TYPE_INSTANCE; | MessageID = 0x901f59ec | vkCreateDevice(): pCreateInfo->pNext<VkPhysicalDeviceShaderFloat16Int8Features> includes a pointer to a VkPhysicalDeviceShaderFloat16Int8Features, but when creating VkDevice, the parent extension (VK_KHR_shader_float16_int8) was not included in ppEnabledExtensionNames.
The Vulkan spec states: Each pNext member of any structure (including this one) in the pNext chain must be either NULL or a pointer to a valid struct for extending VkDeviceCreateInfo (https://vulkan.lunarg.com/doc/view/1.3.296.0/linux/1.3-extensions/vkspec.html#VUID-VkDeviceCreateInfo-pNext-pNext)
[ERROR] validation layer (Validation):
Validation Error: [ VUID-VkDeviceCreateInfo-pNext-pNext ] Object 0: handle = 0x5e4978bc0d30, type = VK_OBJECT_TYPE_INSTANCE; | MessageID = 0x901f59ec | vkCreateDevice(): pCreateInfo->pNext<VkPhysicalDevice8BitStorageFeatures> includes a pointer to a VkPhysicalDevice8BitStorageFeatures, but when creating VkDevice, the parent extension (VK_KHR_8bit_storage) was not included in ppEnabledExtensionNames.
The Vulkan spec states: Each pNext member of any structure (including this one) in the pNext chain must be either NULL or a pointer to a valid struct for extending VkDeviceCreateInfo (https://vulkan.lunarg.com/doc/view/1.3.296.0/linux/1.3-extensions/vkspec.html#VUID-VkDeviceCreateInfo-pNext-pNext)
[ERROR] validation layer (Validation):
Validation Error: [ VUID-VkDeviceCreateInfo-pNext-pNext ] Object 0: handle = 0x5e4978bc0d30, type = VK_OBJECT_TYPE_INSTANCE; | MessageID = 0x901f59ec | vkCreateDevice(): pCreateInfo->pNext<VkPhysicalDeviceBufferDeviceAddressFeatures> includes a pointer to a VkPhysicalDeviceBufferDeviceAddressFeatures, but when creating VkDevice, the parent extension (VK_KHR_buffer_device_address) was not included in ppEnabledExtensionNames.
The Vulkan spec states: Each pNext member of any structure (including this one) in the pNext chain must be either NULL or a pointer to a valid struct for extending VkDeviceCreateInfo (https://vulkan.lunarg.com/doc/view/1.3.296.0/linux/1.3-extensions/vkspec.html#VUID-VkDeviceCreateInfo-pNext-pNext)
Summary: 0 pass, 0 fail
It seems to require adding these lines:
exts.push_back(VK_KHR_SHADER_FLOAT16_INT8_EXTENSION_NAME);
exts.push_back(VK_KHR_8BIT_STORAGE_EXTENSION_NAME);
exts.push_back(VK_KHR_BUFFER_DEVICE_ADDRESS_EXTENSION_NAME);
With latest when running it locally I'm getting:
It seems to require adding these lines:
exts.push_back(VK_KHR_SHADER_FLOAT16_INT8_EXTENSION_NAME);
exts.push_back(VK_KHR_8BIT_STORAGE_EXTENSION_NAME);
exts.push_back(VK_KHR_BUFFER_DEVICE_ADDRESS_EXTENSION_NAME);
to this line prior to vulkan device creation:
https://github.com/google/amber/blob/main/samples/config_helper_vulkan.cc#L1216
The text was updated successfully, but these errors were encountered: