venus: suppress Coverity Uninitialized scalar variable
Just false alarm. Adjusted the code to suppress it. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35474>
This commit is contained in:
@@ -2874,11 +2874,10 @@ vn_GetPhysicalDeviceImageFormatProperties2(
|
||||
*/
|
||||
if (wsi_info && physical_dev->renderer_driver_id ==
|
||||
VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA) {
|
||||
if (pImageFormatInfo != &local_info.format) {
|
||||
local_info.format = *pImageFormatInfo;
|
||||
pImageFormatInfo = &local_info.format;
|
||||
}
|
||||
assert(!external_info);
|
||||
local_info.format = *pImageFormatInfo;
|
||||
local_info.format.flags &= ~VK_IMAGE_CREATE_ALIAS_BIT;
|
||||
pImageFormatInfo = &local_info.format;
|
||||
}
|
||||
|
||||
/* Check if image format props is in the cache. */
|
||||
|
||||
Reference in New Issue
Block a user