Revert "radv: remove unnecessary memset() in radv_AllocateCommandBuffers()"
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 22 Nov 2017 15:13:28 +0000 (16:13 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 24 Nov 2017 11:26:35 +0000 (12:26 +0100)
commit1cc00b8e0eb839096c1d6856df9213d6bad474ef
tree35dca15301cde45f214c3292a6f9307b5225ee74
parentdc391a406ab03fb5f2ba6f7042e6216b52e2ceab
Revert "radv: remove unnecessary memset() in radv_AllocateCommandBuffers()"

This fixes two CTS regressions:
- dEQP-VK.api.object_management.alloc_callback_fail_multiple.command_buffer_primary
- dEQP-VK.api.object_management.alloc_callback_fail_multiple.command_buffer_secondary

These two tests are part the mustpass lists, so presumably they
are correct and my change was wrong.

This reverts commit 0f68208f1d1d3b7b2963dab40e84c60212518692.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_cmd_buffer.c