Code cleanup, shader renaming
This commit is contained in:
parent
3e59ce8d57
commit
7e8e667fb3
1 changed files with 2 additions and 2 deletions
|
|
@ -867,8 +867,8 @@ void VulkanExample::preparePipelines()
|
||||||
vertexInputStateCI.pVertexAttributeDescriptions = vertexInputAttributes.data();
|
vertexInputStateCI.pVertexAttributeDescriptions = vertexInputAttributes.data();
|
||||||
|
|
||||||
const std::array<VkPipelineShaderStageCreateInfo, 2> shaderStages = {
|
const std::array<VkPipelineShaderStageCreateInfo, 2> shaderStages = {
|
||||||
loadShader(getAssetPath() + "shaders/gltfskinning/mesh.vert.spv", VK_SHADER_STAGE_VERTEX_BIT),
|
loadShader(getAssetPath() + "shaders/gltfskinning/skinnedmodel.vert.spv", VK_SHADER_STAGE_VERTEX_BIT),
|
||||||
loadShader(getAssetPath() + "shaders/gltfskinning/mesh.frag.spv", VK_SHADER_STAGE_FRAGMENT_BIT)
|
loadShader(getAssetPath() + "shaders/gltfskinning/skinnedmodel.frag.spv", VK_SHADER_STAGE_FRAGMENT_BIT)
|
||||||
};
|
};
|
||||||
|
|
||||||
VkGraphicsPipelineCreateInfo pipelineCI = vks::initializers::pipelineCreateInfo(pipelineLayout, renderPass, 0);
|
VkGraphicsPipelineCreateInfo pipelineCI = vks::initializers::pipelineCreateInfo(pipelineLayout, renderPass, 0);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue