Changeset cbe946d in opengl-game for vulkan-game.cpp


Ignore:
Timestamp:
Aug 23, 2019, 3:59:12 AM (5 years ago)
Author:
Dmitry Portnoy <dmp1488@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
d53ef6a
Parents:
6544020
Message:

Add separate shaders for the scene and overlay to the Vulkan project and add some notes about future work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vulkan-game.cpp

    r6544020 rcbe946d  
    7575   static VkVertexInputBindingDescription getBindingDescription() {
    7676      VkVertexInputBindingDescription bindingDescription = {};
     77
     78      // Since there is only one array of vertex data, we use binding = 0
     79      // I'll probably do that for the foreseeable future
     80      // I can calculate the stride myself given info about all the varying attributes
     81
     82      // In new-game.cpp, it looks like I had a C++ struct for each shader type anyway,
     83      // so I can use the same pattern for this as well probably
    7784
    7885      bindingDescription.binding = 0;
Note: See TracChangeset for help on using the changeset viewer.