Fixed depth of field for vulkan issue due to missing depth flag and added padding to depth of field view SRG struct

Signed-off-by: antonmic <56370189+antonmic@users.noreply.github.com>
This commit is contained in:
antonmic
2021-12-01 22:19:46 -08:00
parent 4da6dd812b
commit bdd09a22a3
2 changed files with 7 additions and 0 deletions
@@ -11,6 +11,11 @@
"Name": "Depth",
"SlotType": "Input",
"ScopeAttachmentUsage": "Shader",
"ImageViewDesc": {
"AspectFlags": [
"Depth"
]
},
"ShaderImageDimensionsConstant": "m_fullResDimensions"
},
{
@@ -26,6 +26,8 @@ partial ShaderResourceGroup ViewSrg
// circle of confusion to screen ratio;
float m_cocToScreenRatio;
float2 PADDING;
};
DepthOfFieldData m_dof;