Refactoring to rename uniform related functions and members to reflect that they are actually push constants after the Vulkan refactoring.

This commit is contained in:
2022-09-07 23:48:46 -07:00
parent 10f9c17cf1
commit e695bca3f9
9 changed files with 192 additions and 192 deletions

View File

@@ -554,7 +554,7 @@ void KRCamera::renderPost(VkCommandBuffer& commandBuffer, KRSurface& surface)
KRPipeline *postShader = m_pContext->getPipelineManager()->getPipeline(surface, info);
postShader->setUniform(KRPipeline::Uniform::fade_color, m_fade_color);
postShader->setPushConstant(KRPipeline::PushConstant::fade_color, m_fade_color);
postShader->bind(commandBuffer, *this, m_viewport, Matrix4(), nullptr, nullptr, nullptr, KRNode::RENDER_PASS_FORWARD_TRANSPARENT);
m_pContext->getTextureManager()->selectTexture(GL_TEXTURE_2D, 0, compositeDepthTexture);