mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
v3d: include the revision in the device name
To match what the Vulkan driver does. Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26520>
This commit is contained in:
parent
1f0a9f853c
commit
47b825c6c5
1 changed files with 3 additions and 2 deletions
|
|
@ -54,9 +54,10 @@ v3d_screen_get_name(struct pipe_screen *pscreen)
|
|||
|
||||
if (!screen->name) {
|
||||
screen->name = ralloc_asprintf(screen,
|
||||
"V3D %d.%d",
|
||||
"V3D %d.%d.%d",
|
||||
screen->devinfo.ver / 10,
|
||||
screen->devinfo.ver % 10);
|
||||
screen->devinfo.ver % 10,
|
||||
screen->devinfo.rev);
|
||||
}
|
||||
|
||||
return screen->name;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue