MODEL LOADING BABY WORKS
This commit is contained in:
@@ -134,6 +134,12 @@ void Pipeline::CreateGraphicsPipeline(const std::string& vertPath, const std::st
|
||||
|
||||
CreateShaderModule(vertCode, &m_vertShaderModule);
|
||||
|
||||
// vkutil::addDebugLabel(
|
||||
// m_device.getDevice(),
|
||||
// m_fragShaderModule,
|
||||
// VertFileName.c_str()
|
||||
// );
|
||||
|
||||
VkPipelineShaderStageCreateInfo vertShaderStageInfo{};
|
||||
vertShaderStageInfo.sType = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO;
|
||||
vertShaderStageInfo.stage = VK_SHADER_STAGE_VERTEX_BIT;
|
||||
@@ -155,6 +161,13 @@ void Pipeline::CreateGraphicsPipeline(const std::string& vertPath, const std::st
|
||||
|
||||
CreateShaderModule(fragCode, &m_fragShaderModule);
|
||||
|
||||
// vkutil::addDebugLabel(
|
||||
// m_device.getDevice(),
|
||||
// m_fragShaderModule,
|
||||
// FragFileName.c_str()
|
||||
// );
|
||||
|
||||
|
||||
VkPipelineShaderStageCreateInfo fragShaderStageInfo{};
|
||||
fragShaderStageInfo.sType = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO;
|
||||
fragShaderStageInfo.stage = VK_SHADER_STAGE_FRAGMENT_BIT;
|
||||
|
||||
Reference in New Issue
Block a user