Changeset 996dd3e in opengl-game for graphics-pipeline_vulkan.hpp


Ignore:
Timestamp:
May 14, 2021, 1:09:34 AM (3 years ago)
Author:
Dmitry Portnoy <dportnoy@…>
Branches:
feature/imgui-sdl
Children:
a3cefaa
Parents:
9d21aac
Message:

Completely remove storage buffers from the GraphicsPipeline_Vulkan class and start moving storage buffer operations out of the addObject() and updateObject() functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • graphics-pipeline_vulkan.hpp

    r9d21aac r996dd3e  
    2222using namespace glm;
    2323
    24 // TODO: Use this struct for uniform buffers as well and rename it to VulkanBuffer (maybe move it to VulkanUtils)
    25 // Also, probably better to make this a vector of structs where each struct
    26 // has a VkBuffer, VkDeviceMemory, and VkDescriptorBufferInfo
    27 struct StorageBufferSet {
    28    vector<VkBuffer> buffers;
    29    vector<VkDeviceMemory> memory;
    30    vector<VkDescriptorBufferInfo> infoSet;
    31 };
    32 
    3324// TODO: Maybe change the name of this struct so I can call the list something other than descriptorInfoList
    3425struct DescriptorInfo {
     
    4536   public:
    4637      string vertShaderFile, fragShaderFile;
    47 
    48       // TODO: Move this outside this classs, since it is no longer used here
    49       StorageBufferSet storageBufferSet;
    5038
    5139      // Both of these are only used for managing the SSBO, so move them out as well
Note: See TracChangeset for help on using the changeset viewer.