Changeset 7d2b0b9 in opengl-game for vulkan-game.cpp


Ignore:
Timestamp:
Oct 3, 2019, 3:44:55 AM (5 years ago)
Author:
Dmitry Portnoy <dmp1488@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
3de31cf
Parents:
4d84c72
Message:

Add and begin implementing a GraphicsPipeline class to hold info for the Vulkan graphics pipeline

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vulkan-game.cpp

    r4d84c72 r7d2b0b9  
    105105   createRenderPass();
    106106   createCommandPool();
     107
     108   graphicsPipelines.push_back(GraphicsPipeline_Vulkan(device));
     109   graphicsPipelines.back().createPipeline("shaders/scene-vert.spv", "shaders/scene-frag.spv");
     110
     111   graphicsPipelines.push_back(GraphicsPipeline_Vulkan(device));
     112   graphicsPipelines.back().createPipeline("shaders/overlay-vert.spv", "shaders/overlay-frag.spv");
     113
     114   cout << "Created " << graphicsPipelines.size() << " graphics pipelines" << endl;
    107115}
    108116
Note: See TracChangeset for help on using the changeset viewer.