panvk: support vulkan 1.2 on v10+

While not yet officially conformant, we support all the required
features, and we pass the CTS. Let's mark off Vulkan 1.2, to make things
easier for applications.

Backport-to: 25.1
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34512>
(cherry picked from commit b3fd8ddf6a421efebb94b40972eeeffa4f6b9f65)
This commit is contained in:
Erik Faye-Lund
2025-04-10 12:13:41 +02:00
committed by Eric Engestrom
parent 8d01b5577b
commit 7926758a78
5 changed files with 7 additions and 6 deletions

View File

@@ -44,7 +44,7 @@
"description": "panvk: support vulkan 1.2 on v10+",
"nominated": true,
"nomination_type": 4,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

View File

@@ -28,11 +28,11 @@ The following hardware is currently supported:
+--------------------+---------------+-----------+--------+--------+
| G57 | Valhall (v9) | 3.1 | 3.1 | |
+--------------------+---------------+-----------+--------+--------+
| G310, G610 | Valhall (v10) | 3.1 | 3.1 | 1.1 |
| G310, G610 | Valhall (v10) | 3.1 | 3.1 | 1.2 |
+--------------------+---------------+-----------+--------+--------+
| G720 | 5th Gen (v12) | 3.1 | 3.1 | 1.1 |
| G720 | 5th Gen (v12) | 3.1 | 3.1 | 1.2 |
+--------------------+---------------+-----------+--------+--------+
| G725 | 5th Gen (v13) | 3.1 | 3.1 | 1.1 |
| G725 | 5th Gen (v13) | 3.1 | 3.1 | 1.2 |
+--------------------+---------------+-----------+--------+--------+
Other Midgard and Bifrost chips (e.g. G71) are not yet supported.

View File

@@ -455,7 +455,7 @@ Vulkan 1.1 -- all DONE: anv, lvp, nvk, panvk/v10+, radv, tu, vn
VK_KHR_storage_buffer_storage_class DONE (anv, dzn, hasvk, lvp, nvk, panvk, radv, tu, v3dv, vn)
VK_KHR_variable_pointers DONE (anv, hasvk, lvp, nvk, panvk, radv, tu, v3dv, vn)
Vulkan 1.2 -- all DONE: anv, nvk, tu, vn
Vulkan 1.2 -- all DONE: anv, nvk, panvk, tu, vn
VK_KHR_8bit_storage DONE (anv, dzn, hasvk, lvp, nvk, radv, tu/a750+, v3dv, vn, panvk)
VK_KHR_buffer_device_address DONE (anv, hasvk, lvp, nvk, panvk, radv, tu, v3dv, vn)

View File

@@ -45,3 +45,4 @@ VK_KHR_format_feature_flags2 on panvk
shaderStorageImageReadWithoutFormat on panvk
shaderStorageImageWriteWithoutFormat on panvk
VK_EXT_direct_mode_display on panvk
Vulkan 1.2 on panvk/v10+

View File

@@ -559,7 +559,7 @@ get_api_version(unsigned arch)
return version_override;
if (arch >= 10)
return VK_MAKE_API_VERSION(0, 1, 1, VK_HEADER_VERSION);
return VK_MAKE_API_VERSION(0, 1, 2, VK_HEADER_VERSION);
return VK_MAKE_API_VERSION(0, 1, 0, VK_HEADER_VERSION);
}