MultiGPUCompositePass.pass 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "Type": "JsonSerialization",
  3. "Version": 1,
  4. "ClassName": "PassAsset",
  5. "ClassData": {
  6. "PassTemplate": {
  7. "Name": "MultiGPUCompositePassTemplate",
  8. "PassClass": "FullScreenTriangle",
  9. "Slots": [
  10. {
  11. "Name": "Input1",
  12. "ShaderInputName": "m_image1",
  13. "SlotType": "Input",
  14. "ScopeAttachmentUsage": "Shader"
  15. },
  16. {
  17. "Name": "Input2",
  18. "ShaderInputName": "m_image2",
  19. "SlotType": "Input",
  20. "ScopeAttachmentUsage": "Shader"
  21. },
  22. {
  23. "Name": "Output",
  24. "SlotType": "Output",
  25. "ScopeAttachmentUsage": "RenderTarget"
  26. }
  27. ],
  28. "ImageAttachments": [
  29. {
  30. "Name": "OutputAttachment",
  31. "SizeSource": {
  32. "Source": {
  33. "Pass": "Parent",
  34. "Attachment": "PipelineOutput"
  35. }
  36. },
  37. "FormatSource": {
  38. "Pass": "Parent",
  39. "Attachment": "PipelineOutput"
  40. }
  41. }
  42. ],
  43. "Connections": [
  44. {
  45. "LocalSlot": "Output",
  46. "AttachmentRef": {
  47. "Pass": "This",
  48. "Attachment": "OutputAttachment"
  49. }
  50. }
  51. ]
  52. }
  53. }
  54. }