radv: use correct alloc function when loading from disk
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 31 Oct 2017 00:31:19 +0000 (11:31 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 31 Oct 2017 03:51:55 +0000 (14:51 +1100)
commite92405c55aa885bee5dfb05fac032cab5e419290
treec29b2d5510f30519e83434358daefcb033a2e7ff
parent048d4c45c94eb8d99f2a53f3bf200b2c6a9f9629
radv: use correct alloc function when loading from disk

Fixes regression in:

dEQP-VK.api.object_management.alloc_callback_fail.graphics_pipeline

Fixes: 1e84e53712ae "radv: add cache items to in memory cache when reading from disk"
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_pipeline_cache.c