MultiGPUCopyImageToBuffer.pass 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. {
  2. "Type": "JsonSerialization",
  3. "Version": 1,
  4. "ClassName": "PassAsset",
  5. "ClassData": {
  6. "PassTemplate": {
  7. "Name": "MultiGPUCopyImageToBufferPassTemplate",
  8. "PassClass": "CopyPass",
  9. "Slots": [
  10. {
  11. "Name": "Input",
  12. "SlotType": "Input",
  13. "ScopeAttachmentUsage": "Copy"
  14. },
  15. {
  16. "Name": "Output",
  17. "SlotType": "Output",
  18. "ScopeAttachmentUsage": "Copy",
  19. "BufferViewDesc": {
  20. "m_elementOffset": 0,
  21. "m_elementCount": 153600,
  22. "m_elementSize": 4
  23. }
  24. }
  25. ],
  26. "BufferAttachments": [
  27. {
  28. "Name": "OutputAttachment",
  29. "BufferDescriptor": {
  30. "m_byteCount": 614400,
  31. "m_alignment": 16,
  32. "m_bindFlags": "ShaderReadWrite"
  33. }
  34. }
  35. ],
  36. "Connections": [
  37. {
  38. "LocalSlot": "Output",
  39. "AttachmentRef": {
  40. "Pass": "This",
  41. "Attachment": "OutputAttachment"
  42. }
  43. }
  44. ]
  45. }
  46. }
  47. }