diff --git a/src/vkcv/PipelineManager.cpp b/src/vkcv/PipelineManager.cpp index 4475e55409862ecfd2353f33820cf405eca36412..3d6a5f2589e3e29a3e5245dd552c76446fc5b7e4 100644 --- a/src/vkcv/PipelineManager.cpp +++ b/src/vkcv/PipelineManager.cpp @@ -73,7 +73,7 @@ namespace vkcv uint32_t location = attachment.location; uint32_t binding = attachment.binding; uint32_t offset = attachment.offset; - VertexFormat format = attachment.format; + VertexFormat format = attachment.format; // TODO: Format -> Where does this belong? std::cout << "--------------------------------" << std::endl; std::cout << "Debug Print From PipelineManager" << std::endl; @@ -86,7 +86,7 @@ namespace vkcv // vertex input state vk::VertexInputBindingDescription vertexInputBindingDescription(binding, layout.stride, vk::VertexInputRate::eVertex); // TODO: What's with the input rate? - vk::VertexInputAttributeDescription vertexInputAttributeDescription(location, binding, static_cast<vk::Format>(format), offset); // TODO: Format -> cast to vk::Format? + vk::VertexInputAttributeDescription vertexInputAttributeDescription(location, binding, vk::Format::eR32G32B32Sfloat, offset); vk::PipelineVertexInputStateCreateInfo pipelineVertexInputStateCreateInfo( {}, // no vertex input until vertex buffer is implemented