diff options
author | Samuel Pitoiset <[email protected]> | 2017-11-10 09:18:00 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-11-13 11:05:30 +0100 |
commit | 66da4c75bcd0b1f4fad8ec7d7debf1f431f9c915 (patch) | |
tree | 994315db0f498a289e125e65e4f758f4c8b2c3be | |
parent | 3d95fde661dfc7824527b341ce6ea7c13b4dc9a1 (diff) |
radv: remove useless initializations in radv_create_cmd_buffer()
There is a memset() above.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
-rw-r--r-- | src/amd/vulkan/radv_cmd_buffer.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c index 17d8352e0e0..5f518f04aca 100644 --- a/src/amd/vulkan/radv_cmd_buffer.c +++ b/src/amd/vulkan/radv_cmd_buffer.c @@ -231,8 +231,6 @@ static VkResult radv_create_cmd_buffer( *pCommandBuffer = radv_cmd_buffer_to_handle(cmd_buffer); - cmd_buffer->upload.offset = 0; - cmd_buffer->upload.size = 0; list_inithead(&cmd_buffer->upload.list); return VK_SUCCESS; |