mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
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:
parent
e6f8202749
commit
8eeb61a3bf
1 changed files with 3 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue