[PAL] Detect if resizable bar is enabled

Change-Id: I54b2e878d1cf7235a848a4b243f878538e226702
This commit is contained in:
Vladislav Sytchenko
2020-10-02 12:11:53 -04:00
orang tua 189ec6f794
melakukan 11bdf0005f
+5
Melihat File
@@ -702,6 +702,11 @@ void NullDevice::fillDeviceInfo(const Pal::DeviceProperties& palProp,
info_.cooperativeGroups_ = settings().enableCoopGroups_;
info_.cooperativeMultiDeviceGroups_ = settings().enableCoopMultiDeviceGroups_;
if (heaps[Pal::GpuHeapInvisible].heapSize == 0) {
info_.largeBar_ = true;
ClPrint(amd::LOG_INFO, amd::LOG_INIT, "Resizable bar enabled");
}
}
}