zink: malloc/sizeof mismatch
authorThomas H.P. Andersen <phomes@gmail.com>
Wed, 29 Dec 2021 10:19:39 +0000 (11:19 +0100)
committerMarge Bot <emma+marge@anholt.net>
Mon, 3 Jan 2022 17:00:55 +0000 (17:00 +0000)
commit4cc054804618403a24e9ad48fd860d13fa911a95
tree2a60d62060b5556f59bad89142b519b2c99add81
parent495b2c537b386cd1945f52bac038b737654e443e
zink: malloc/sizeof mismatch

buffer_infos is VkBufferView* but malloc is using the
size of VkImageView. The size is the same but this
fixes a warning

Reviewed-by: Hoe Hao Cheng <haochengho12907@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14335>
src/gallium/drivers/zink/zink_context.c