diff options
author | Daria Volvenkova <d.volvenkova@corp.mail.ru> | 2019-02-15 13:50:32 +0300 |
---|---|---|
committer | Daria Volvenkova <d.volvenkova@corp.mail.ru> | 2019-03-01 10:45:24 +0300 |
commit | 66b22516cdd259e97cb7b93b6bebc2f2f7977082 (patch) | |
tree | e5124334faa81362c8946b8f143f35f90c9c6daf /shaders | |
parent | dc89014973ebceef3250a800ce73aa8b9581e234 (diff) |
[vulkan] Bind buffer refactoring.
Diffstat (limited to 'shaders')
-rw-r--r-- | shaders/vulkan_program_params.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/shaders/vulkan_program_params.cpp b/shaders/vulkan_program_params.cpp index 4dfd8a5cdd..4ee6e4136d 100644 --- a/shaders/vulkan_program_params.cpp +++ b/shaders/vulkan_program_params.cpp @@ -26,9 +26,6 @@ VulkanProgramParamsSetter::UniformBuffer CreateUniformBuffer(VkDevice device, sizeAlignment = objectManager->GetMemoryManager().GetSizeAlignment(memReqs); offsetAlignment = objectManager->GetMemoryManager().GetOffsetAlignment(kUniformBuffer); - CHECK_VK_CALL(vkBindBufferMemory(device, result.m_object.m_buffer, result.m_object.GetMemory(), - result.m_object.GetAlignedOffset())); - result.m_pointer = objectManager->Map(result.m_object); return result; } |