anv: don't assert on device init on Cannonlake

v2: Warn that support is still in alpha (Jason)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
Lionel Landwerlin 2017-10-20 18:49:30 +01:00
parent 0c95adaf9e
commit c71d44c7f8
1 changed files with 4 additions and 2 deletions

View File

@ -300,8 +300,10 @@ anv_physical_device_init(struct anv_physical_device *device,
} else if (device->info.gen == 7 && device->info.is_baytrail) {
intel_logw("Bay Trail Vulkan support is incomplete");
} else if (device->info.gen >= 8 && device->info.gen <= 9) {
/* Broadwell, Cherryview, Skylake, Broxton, Kabylake is as fully
* supported as anything */
/* Broadwell, Cherryview, Skylake, Broxton, Kabylake, Coffelake is as
* fully supported as anything */
} else if (device->info.gen == 10) {
intel_logw("Cannonlake Vulkan support is alpha");
} else {
result = vk_errorf(device->instance, device,
VK_ERROR_INCOMPATIBLE_DRIVER,