- enable the binding code for the ssao gbuffers
This commit is contained in:
parent
c0c2743e89
commit
ca1d8191aa
2 changed files with 3 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue