mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-23 15:30:09 +00:00
zink: initialize pQueueFamilyIndices
This silences a Coverity warning about an uninitialized variable. CID: 1490800 Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12559>
This commit is contained in:
parent
64c558ab83
commit
c96afa9fc8
@ -125,6 +125,7 @@ create_bci(struct zink_screen *screen, const struct pipe_resource *templ, unsign
|
||||
bci.pNext = NULL;
|
||||
bci.sharingMode = VK_SHARING_MODE_EXCLUSIVE;
|
||||
bci.queueFamilyIndexCount = 0;
|
||||
bci.pQueueFamilyIndices = NULL;
|
||||
bci.size = templ->width0;
|
||||
bci.flags = 0;
|
||||
assert(bci.size > 0);
|
||||
|
Loading…
Reference in New Issue
Block a user