gfxstream: ResourceTracker: fix mesa_loge(..)
Fixes Linux build. Reviewed-by: Aaron Ruby <aruby@blackberry.com> Acked-by: Yonggang Luo <luoyonggang@gmail.com> Acked-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246>
This commit is contained in:

committed by
Marge Bot

parent
ead73173bf
commit
e7b736e8c6
@@ -3786,7 +3786,7 @@ VkResult ResourceTracker::on_vkAllocateMemory(void* context, VkResult input_resu
|
||||
on_vkGetImageSubresourceLayout(context, device, dedicatedAllocInfoPtr->image,
|
||||
&imageSubresource, &subResourceLayout);
|
||||
if (!subResourceLayout.rowPitch) {
|
||||
mesa_loge("%s: Failed to query stride for VirtGpu resource creation.");
|
||||
mesa_loge("Failed to query stride for VirtGpu resource creation.");
|
||||
return VK_ERROR_INITIALIZATION_FAILED;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user