mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 15:58:05 +02:00
radv: expose integrated device type for APUs.
This just sets the vulkan device type depending on whether this is an APU or GPU. Signed-off-by: Dave Airlie <airlied@redhat.com> Fixes:f4e499ec79"radv: add initial non-conformant radv vulkan driver" (cherry picked from commit2890a71158)
This commit is contained in:
parent
ffb46c8826
commit
8bd7d8c042
1 changed files with 1 additions and 1 deletions
|
|
@ -676,7 +676,7 @@ void radv_GetPhysicalDeviceProperties(
|
|||
.driverVersion = radv_get_driver_version(),
|
||||
.vendorID = 0x1002,
|
||||
.deviceID = pdevice->rad_info.pci_id,
|
||||
.deviceType = VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU,
|
||||
.deviceType = pdevice->rad_info.has_dedicated_vram ? VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU : VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU,
|
||||
.limits = limits,
|
||||
.sparseProperties = {0},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue