mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 00:10:10 +01: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
1 changed files with 1 additions and 0 deletions
|
|
@ -125,6 +125,7 @@ create_bci(struct zink_screen *screen, const struct pipe_resource *templ, unsign
|
||||||
bci.pNext = NULL;
|
bci.pNext = NULL;
|
||||||
bci.sharingMode = VK_SHARING_MODE_EXCLUSIVE;
|
bci.sharingMode = VK_SHARING_MODE_EXCLUSIVE;
|
||||||
bci.queueFamilyIndexCount = 0;
|
bci.queueFamilyIndexCount = 0;
|
||||||
|
bci.pQueueFamilyIndices = NULL;
|
||||||
bci.size = templ->width0;
|
bci.size = templ->width0;
|
||||||
bci.flags = 0;
|
bci.flags = 0;
|
||||||
assert(bci.size > 0);
|
assert(bci.size > 0);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue