anv/tests: Zero-initialize instances
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 30 Oct 2019 16:43:53 +0000 (11:43 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Thu, 31 Oct 2019 13:46:09 +0000 (13:46 +0000)
commit9076e9f3751341063679eb227116060070549a37
treef294b109bb9b54e82b6b3c5ac36c8858eb83bfca
parent5c664dff7593959d43f89d3fadcc148303134675
anv/tests: Zero-initialize instances

Some of the tests were actually relying on some of those uninitialized
bits to be non-zero.  In particular, a couple want use_softpin = true.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/tests/block_pool_grow_first.c
src/intel/vulkan/tests/block_pool_no_free.c
src/intel/vulkan/tests/state_pool.c
src/intel/vulkan/tests/state_pool_free_list_only.c
src/intel/vulkan/tests/state_pool_no_free.c
src/intel/vulkan/tests/state_pool_padding.c