radv: Init variant entry with memset.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 21 Jan 2018 21:03:02 +0000 (22:03 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 21 Jan 2018 23:07:39 +0000 (00:07 +0100)
commit8b98929074f77156d8e1a10bc42b8eda0f9ce4ec
tree044e3ab0d3d95a5b92a6d0dfeadbb61c67d335ea
parentfb0992e967e7f56604e1f5db8579ae6c2b8d0f2a
radv: Init variant entry with memset.

This gets memcpy'd and written driectly, and due to alignment, this
resulted in uninitialized gaps. This makes those gaps go away.

CC: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_pipeline_cache.c