mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 15:40:11 +01:00
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:
parent
16fb504402
commit
d0684c1914
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue