Changeset 055750a in opengl-game for graphics-pipeline_vulkan.hpp


Ignore:
Timestamp:
Dec 4, 2019, 9:33:43 PM (5 years ago)
Author:
Dmitry Portnoy <dmitry.portnoy@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
785333b, cf727ca
Parents:
e1308e8
Message:

In VulkanGame, use SSBOs in the ship and scene shaders to store per-object data (currently just the model matrix)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • graphics-pipeline_vulkan.hpp

    re1308e8 r055750a  
    376376         switch (descriptorWrites[j].descriptorType) {
    377377            case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER:
     378            case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER:
    378379               descriptorWrites[j].pBufferInfo = &(*this->descriptorInfoList[j].bufferDataList)[i];
    379380               break;
Note: See TracChangeset for help on using the changeset viewer.