@ -12,7 +12,8 @@
"SlotType": "InputOutput",
"SlotType": "InputOutput",
"ScopeAttachmentUsage": "RenderTarget"
"ScopeAttachmentUsage": "RenderTarget"
},
},
{ // used for copy from MSAA to regular RT
{
// used for copy from MSAA to regular RT
"Name": "RenderTargetInputOnly",
"Name": "RenderTargetInputOnly",
"SlotType": "Input",
"SlotType": "Input",
"ScopeAttachmentUsage": "Shader"
"ScopeAttachmentUsage": "Shader"
@ -29,7 +30,7 @@
// If DepthLinear is not availbale - connect to another viewport (non MSAA) image.
// If DepthLinear is not availbale - connect to another viewport (non MSAA) image.
{
{
"Name": "DepthLinearInput",
"Name": "DepthLinearInput",
"SlotType": "InputOutput "
"SlotType": "Input"
},
},
{
{
"Name": "DepthLinear",
"Name": "DepthLinear",
@ -71,6 +72,12 @@
}
}
}
}
],
],
"FallbackConnections": [
{
"Input": "DepthLinearInput",
"Output": "DepthLinear"
}
],
"PassRequests": [
"PassRequests": [
{
{
"Name": "HairGlobalShapeConstraintsComputePass",
"Name": "HairGlobalShapeConstraintsComputePass",
@ -257,7 +264,8 @@
"Attachment": "HairColorRenderTarget"
"Attachment": "HairColorRenderTarget"
}
}
},
},
{ // The final render target - this is MSAA mode RT - would it be cheaper to
{
// The final render target - this is MSAA mode RT - would it be cheaper to
// use non-MSAA and then copy?
// use non-MSAA and then copy?
"LocalSlot": "RenderTargetInputOutput",
"LocalSlot": "RenderTargetInputOutput",
"AttachmentRef": {
"AttachmentRef": {
@ -340,7 +348,8 @@
"TemplateName": "HairShortCutResolveColorPassTemplate",
"TemplateName": "HairShortCutResolveColorPassTemplate",
"Enabled": true,
"Enabled": true,
"Connections": [
"Connections": [
{ // The final render target - this is MSAA mode RT - would it be cheaper to
{
// The final render target - this is MSAA mode RT - would it be cheaper to
// use non-MSAA and then copy?
// use non-MSAA and then copy?
"LocalSlot": "RenderTargetInputOutput",
"LocalSlot": "RenderTargetInputOutput",
"AttachmentRef": {
"AttachmentRef": {