Changeset 58453c3 in opengl-game for vulkan-game.hpp
- Timestamp:
- May 20, 2021, 3:50:12 PM (4 years ago)
- Branches:
- feature/imgui-sdl
- Children:
- 567fa88
- Parents:
- c163d81
- git-author:
- Dmitry Portnoy <dportnoy@…> (05/20/21 15:48:15)
- git-committer:
- Dmitry Portnoy <dportnoy@…> (05/20/21 15:50:12)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vulkan-game.hpp
rc163d81 r58453c3 435 435 BufferSet& set); 436 436 437 // TODO: See if it makes sense to rename this to resizeBufferSet() and use it to resize other types of buffers as well438 // TODO: Remove the need for templating, which is only there so a GraphicsPupeline_Vulkan can be passed in439 437 template<class VertexType, class SSBOType> 440 438 void resizeBufferSet(BufferSet& set, VulkanBuffer<SSBOType>& buffer, … … 541 539 // Assume the SSBO is always the 2nd binding 542 540 // TODO: Figure out a way to make this more flexible 543 pipeline.updateDescriptorInfo(1, &set.infoSet, swapChainImages );541 pipeline.updateDescriptorInfo(1, &set.infoSet, swapChainImages.size()); 544 542 } 545 543
Note:
See TracChangeset
for help on using the changeset viewer.