- enable the binding code for the ssao gbuffers

This commit is contained in:
Magnus Norddahl 2019-03-08 03:17:59 +01:00
commit ca1d8191aa
2 changed files with 3 additions and 2 deletions

View file

@ -553,7 +553,6 @@ VkPostprocess::TextureImage VkPostprocess::GetTexture(const PPTextureType &type,
tex.view = fb->GetBuffers()->SceneColorView.get();
tex.layout = &fb->GetBuffers()->SceneColorLayout;
}
#if 0
else if (type == PPTextureType::SceneNormal)
{
tex.image = fb->GetBuffers()->SceneNormal.get();
@ -572,7 +571,6 @@ VkPostprocess::TextureImage VkPostprocess::GetTexture(const PPTextureType &type,
tex.view = fb->GetBuffers()->SceneDepthView.get();
tex.layout = &fb->GetBuffers()->SceneDepthStencilLayout;
}
#endif
else if (type == PPTextureType::SwapChain)
{
tex.image = nullptr;