- fix mirror effect shader
This commit is contained in:
parent
e75ab8ed09
commit
97375feee6
3 changed files with 13 additions and 13 deletions
|
|
@ -261,7 +261,7 @@ void VkRenderPassSetup::CreatePipeline(const VkRenderPassKey &key)
|
|||
VkShaderProgram *program;
|
||||
if (key.SpecialEffect != EFF_NONE)
|
||||
{
|
||||
program = fb->GetShaderManager()->GetEffect(key.SpecialEffect);
|
||||
program = fb->GetShaderManager()->GetEffect(key.SpecialEffect, key.DrawBuffers > 1 ? GBUFFER_PASS : NORMAL_PASS);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue