nvk: Only support Vulkan 1.4 on Turing+
It needs hostImageCopy which we don't have working pre-Turing yet.
Fixes: 173171f73e ("nvk: Advertise Vulkan 1.4")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32443>
This commit is contained in:
committed by
Marge Bot
parent
128caf94ca
commit
01046afae5
@@ -85,6 +85,12 @@ nvk_get_vk_version(const struct nv_device_info *info)
|
||||
return VK_MAKE_VERSION(1, 1, VK_HEADER_VERSION);
|
||||
#endif
|
||||
|
||||
/* Vulkan 1.4 requires hostImageCopy which is currently only supported on
|
||||
* Turing+.
|
||||
*/
|
||||
if (info->cls_eng3d < TURING_A)
|
||||
return VK_MAKE_VERSION(1, 3, VK_HEADER_VERSION);
|
||||
|
||||
return VK_MAKE_VERSION(1, 4, VK_HEADER_VERSION);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user