diff options
author | Alex Smith <[email protected]> | 2017-03-13 13:28:19 +0000 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2017-03-13 23:42:36 +0100 |
commit | c19607d59df0edbccc253d299c65aa8d30c54d86 (patch) | |
tree | 5cfe169cd0169debae9b0bd5f91925426e1d785d /common.py | |
parent | cdbe4990cda2d0b40f86047dbb65851c22632750 (diff) |
radv: Reinitialise loaderMagic when allocating a cached command buffer
This must be set to ICD_LOADER_MAGIC by vkAllocateCommandBuffers, which
was being done when allocating a new buffer but not when reusing an
existing one in the cache. This would hit an assertion and crash in
debug builds of the Vulkan loader.
Fixes: 682248db451f ("radv: Cache command buffers in command pool.")
Signed-off-by: Alex Smith <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions