Changeset 2f4ff8c in opengl-game for vulkan-game.hpp


Ignore:
Timestamp:
Jun 20, 2021, 7:05:14 PM (4 years ago)
Author:
Dmitry Portnoy <dportnoy@…>
Branches:
feature/imgui-sdl
Children:
b01b50c
Parents:
90880fb
git-author:
Dmitry Portnoy <dportnoy@…> (06/18/21 16:39:49)
git-committer:
Dmitry Portnoy <dportnoy@…> (06/20/21 19:05:14)
Message:

Change the uniform buffers to always be mapped instead of mapping them every time data needs to be copied

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vulkan-game.hpp

    r90880fb r2f4ff8c  
    314314      BufferSet storageBuffers_modelPipeline;
    315315
    316       VulkanBuffer<UBO_VP_mats> vp_mats_modelPipeline;
     316      VulkanBuffer<UBO_VP_mats> uniforms_modelPipeline;
    317317      VulkanBuffer<SSBO_ModelObject> objects_modelPipeline;
    318318
     
    320320      BufferSet storageBuffers_shipPipeline;
    321321
    322       VulkanBuffer<UBO_VP_mats> vp_mats_shipPipeline;
     322      VulkanBuffer<UBO_VP_mats> uniforms_shipPipeline;
    323323      VulkanBuffer<SSBO_ModelObject> objects_shipPipeline;
    324324
     
    326326      BufferSet storageBuffers_asteroidPipeline;
    327327
    328       VulkanBuffer<UBO_VP_mats> vp_mats_asteroidPipeline;
     328      VulkanBuffer<UBO_VP_mats> uniforms_asteroidPipeline;
    329329      VulkanBuffer<SSBO_Asteroid> objects_asteroidPipeline;
    330330
     
    332332      BufferSet storageBuffers_laserPipeline;
    333333
    334       VulkanBuffer<UBO_VP_mats> vp_mats_laserPipeline;
     334      VulkanBuffer<UBO_VP_mats> uniforms_laserPipeline;
    335335      VulkanBuffer<SSBO_Laser> objects_laserPipeline;
    336336
Note: See TracChangeset for help on using the changeset viewer.