diff options
author | Samuel Pitoiset <samuel.pitoiset@gmail.com> | 2022-01-12 08:18:10 +0100 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2022-01-25 15:57:53 +0000 |
commit | 923309e201092facf0e83d235523e432562546cd (patch) | |
tree | 161793a0f394898722375ac2e5d93197e406c1b2 | |
parent | 2a88e21570f93e5a544a418b8216d31bf385cc00 (diff) |
radv: bump conformance version to 1.3.0.0 for RDNA2
We can't report conformance for an older major API version and this is
required to pass dEQP-VK.api.driver_properties.conformance_version.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14707>
-rw-r--r-- | src/amd/vulkan/radv_device.c | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 90429a49d3e..c45267ad3f6 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -1886,12 +1886,21 @@ radv_get_physical_device_properties_1_2(struct radv_physical_device *pdevice, radv_get_compiler_string(pdevice)); if (radv_is_conformant(pdevice)) { - p->conformanceVersion = (VkConformanceVersion){ - .major = 1, - .minor = 2, - .subminor = 7, - .patch = 1, - }; + if (pdevice->rad_info.chip_class >= GFX10_3) { + p->conformanceVersion = (VkConformanceVersion){ + .major = 1, + .minor = 3, + .subminor = 0, + .patch = 0, + }; + } else { + p->conformanceVersion = (VkConformanceVersion){ + .major = 1, + .minor = 2, + .subminor = 7, + .patch = 1, + }; + } } else { p->conformanceVersion = (VkConformanceVersion){ .major = 0, |