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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user