v3dv: add a perf trace when a device is created with robust buffer access
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8913>
This commit is contained in:
committed by
Marge Bot
parent
e6f8202749
commit
8eeb61a3bf
@@ -1410,6 +1410,9 @@ v3dv_CreateDevice(VkPhysicalDevice physicalDevice,
|
||||
if (pCreateInfo->pEnabledFeatures) {
|
||||
memcpy(&device->features, pCreateInfo->pEnabledFeatures,
|
||||
sizeof(device->features));
|
||||
|
||||
if (device->features.robustBufferAccess)
|
||||
perf_debug("Device created with Robust Buffer Access enabled.\n");
|
||||
}
|
||||
|
||||
int ret = drmSyncobjCreate(physical_device->render_fd,
|
||||
|
||||
Reference in New Issue
Block a user