zink: zero VkMemoryRequirements on init

ensure no part of this is uninitialized just to be safe

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8217>
This commit is contained in:
Mike Blumenkrantz 2020-12-23 15:36:50 -05:00 committed by Marge Bot
parent 16fb504402
commit d0684c1914

View file

@ -108,7 +108,7 @@ resource_create(struct pipe_screen *pscreen,
pipe_reference_init(&res->base.reference, 1);
res->base.screen = pscreen;
VkMemoryRequirements reqs;
VkMemoryRequirements reqs = {};
VkMemoryPropertyFlags flags = 0;
res->internal_format = templ->format;