Browse Source

Fix RHI vr pipeline based on the recent changes made to the main rhi pipeline (#6)

Signed-off-by: moudgils <[email protected]>
Signed-off-by: amzn-phist <[email protected]>
moudgils 3 years ago
parent
commit
5ff21c3e03
2 changed files with 10 additions and 16 deletions
  1. 5 8
      Passes/RHISamplePipelineXRLeft.pass
  2. 5 8
      Passes/RHISamplePipelineXRRight.pass

+ 5 - 8
Passes/RHISamplePipelineXRLeft.pass

@@ -8,7 +8,7 @@
             "PassClass": "ParentPass",
             "PassClass": "ParentPass",
             "Slots": [
             "Slots": [
                 {
                 {
-                    "Name": "SwapChainOutput",
+                    "Name": "PipelineOutput",
                     "SlotType": "InputOutput"
                     "SlotType": "InputOutput"
                 }
                 }
             ],
             ],
@@ -16,8 +16,8 @@
                 "$type": "PassData",
                 "$type": "PassData",
                 "PipelineGlobalConnections": [
                 "PipelineGlobalConnections": [
                     {
                     {
-                        "GlobalName": "SwapChainOutput",
-                        "Slot": "SwapChainOutput"
+                        "GlobalName": "PipelineOutput",
+                        "Slot": "PipelineOutput"
                     }
                     }
                 ]
                 ]
             },
             },
@@ -25,10 +25,7 @@
                 {
                 {
                     "Name": "RHISamplePass",
                     "Name": "RHISamplePass",
                     "TemplateName": "RHISamplePassTemplate",
                     "TemplateName": "RHISamplePassTemplate",
-                    "Enabled": true,
-                    "ExecuteAfter": [
-                        "BeginXRPass"
-                    ]
+                    "Enabled": true
                 },
                 },
                 {
                 {
                     "Name": "ImGuiPass",
                     "Name": "ImGuiPass",
@@ -63,7 +60,7 @@
                             "LocalSlot": "Output",
                             "LocalSlot": "Output",
                             "AttachmentRef": {
                             "AttachmentRef": {
                                 "Pass": "Parent",
                                 "Pass": "Parent",
-                                "Attachment": "SwapChainOutput"
+                                "Attachment": "PipelineOutput"
                             }
                             }
                         }
                         }
                     ]
                     ]

+ 5 - 8
Passes/RHISamplePipelineXRRight.pass

@@ -8,7 +8,7 @@
             "PassClass": "ParentPass",
             "PassClass": "ParentPass",
             "Slots": [
             "Slots": [
                 {
                 {
-                    "Name": "SwapChainOutput",
+                    "Name": "PipelineOutput",
                     "SlotType": "InputOutput"
                     "SlotType": "InputOutput"
                 }
                 }
             ],
             ],
@@ -16,8 +16,8 @@
                 "$type": "PassData",
                 "$type": "PassData",
                 "PipelineGlobalConnections": [
                 "PipelineGlobalConnections": [
                     {
                     {
-                        "GlobalName": "SwapChainOutput",
-                        "Slot": "SwapChainOutput"
+                        "GlobalName": "PipelineOutput",
+                        "Slot": "PipelineOutput"
                     }
                     }
                 ]
                 ]
             },
             },
@@ -25,10 +25,7 @@
                 {
                 {
                     "Name": "RHISamplePass",
                     "Name": "RHISamplePass",
                     "TemplateName": "RHISamplePassTemplate",
                     "TemplateName": "RHISamplePassTemplate",
-                    "Enabled": true,
-                    "ExecuteAfter": [
-                        "BeginXRPass"
-                    ]
+                    "Enabled": true
                 },
                 },
                 {
                 {
                     "Name": "ImGuiPass",
                     "Name": "ImGuiPass",
@@ -63,7 +60,7 @@
                             "LocalSlot": "Output",
                             "LocalSlot": "Output",
                             "AttachmentRef": {
                             "AttachmentRef": {
                                 "Pass": "Parent",
                                 "Pass": "Parent",
-                                "Attachment": "SwapChainOutput"
+                                "Attachment": "PipelineOutput"
                             }
                             }
                         }
                         }
                     ]
                     ]