Skip to content

zink: do not warn about rare features until used

Erik Faye-Lund requested to merge kusma/mesa:zink-defer-linerast-warnings into main

We currently cause the following scary warning to be printed on start-up for every application regardless if that feature is being used or not when run on top of ANV:

WARNING: Some incorrect rendering might occur because the selected Vulkan device (Intel(R) UHD Graphics 620 (KBL GT2)) doesn't support base Zink requirements: line_rast_feats.stippledRectangularLines line_rast_feats.stippledSmoothLines

There's no need to scare the users about this, as most applications don't care about these combinational features. So let's instead emit a warning when these features are attempted (but failed) to be used instead.

Merge request reports