hasvk: Silence conformance warning in CI.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21228>
This commit is contained in:
Emma Anholt 2023-02-08 21:26:51 -08:00 committed by Marge Bot
parent 570acf5655
commit 98455470ea
2 changed files with 8 additions and 3 deletions

View file

@ -56,6 +56,7 @@ hasvk-hsw-full:
GPU_VERSION: hasvk-hsw
DEQP_SUITE: hasvk-hsw
VK_DRIVER: intel_hasvk
MESA_VK_IGNORE_CONFORMANCE_WARNING: 1
timeout: 2h
hasvk-hsw:

View file

@ -688,12 +688,16 @@ anv_physical_device_try_create(struct vk_instance *vk_instance,
}
bool is_alpha = true;
bool warn = !debug_get_bool_option("MESA_VK_IGNORE_CONFORMANCE_WARNING", false);
if (devinfo.platform == INTEL_PLATFORM_HSW) {
mesa_logw("Haswell Vulkan support is incomplete");
if (warn)
mesa_logw("Haswell Vulkan support is incomplete");
} else if (devinfo.platform == INTEL_PLATFORM_IVB) {
mesa_logw("Ivy Bridge Vulkan support is incomplete");
if (warn)
mesa_logw("Ivy Bridge Vulkan support is incomplete");
} else if (devinfo.platform == INTEL_PLATFORM_BYT) {
mesa_logw("Bay Trail Vulkan support is incomplete");
if (warn)
mesa_logw("Bay Trail Vulkan support is incomplete");
} else if (devinfo.ver == 8) {
/* Gfx8 fully supported */
is_alpha = false;