mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
panvk: rename helper
This function is no longer the only concept we have of "Vulkan version", so let's rename it to reflect that it's only about the API-versin. We don't really need to specify that it's about Vulkan versions, that seems pretty obvious here. Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33254>
This commit is contained in:
parent
2653a3988f
commit
63c6f3e0f0
1 changed files with 2 additions and 2 deletions
|
|
@ -434,7 +434,7 @@ get_features(const struct panvk_physical_device *device,
|
|||
}
|
||||
|
||||
static uint32_t
|
||||
get_vk_version(unsigned arch)
|
||||
get_api_version(unsigned arch)
|
||||
{
|
||||
const uint32_t version_override = vk_get_version_override();
|
||||
if (version_override)
|
||||
|
|
@ -473,7 +473,7 @@ get_device_properties(const struct panvk_instance *instance,
|
|||
assert(arch > 8 || device->kmod.props.max_threads_per_wg <= 1024);
|
||||
|
||||
*properties = (struct vk_properties){
|
||||
.apiVersion = get_vk_version(arch),
|
||||
.apiVersion = get_api_version(arch),
|
||||
.driverVersion = vk_get_driver_version(),
|
||||
.vendorID = ARM_VENDOR_ID,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue