Use marketing_name for the Vulkan device string in RADV
The current deviceName
reported by Vulkan for RADV drivers is something like "AMD RADV POLARIS10 (ACO)". This isn't particularly helpful to the user for identifying the device, e.g. if devices are listed in an application for the user to select one. The user is more likely to be familiar with the name the device is sold under, such as "AMD Radeon RX 580" in my case; this is what is reported as the device string for the same device in OpenGL. After quickly browsing the code, I believe device->rad_info.marketing_name
holds that string.
Moreover, I don't think including driver information in the device name is all that useful. The driverName
is already "radv" and the "AC0" part (apparently the compiler?) is included in the driverInfo
already. So I think if the returned deviceName
were simply the marketing_name
string, or "marketing_name
(name
)", that would be ideal?