MultiGPUCopyBufferToImage.pass 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {
  2. "Type": "JsonSerialization",
  3. "Version": 1,
  4. "ClassName": "PassAsset",
  5. "ClassData": {
  6. "PassTemplate": {
  7. "Name": "MultiGPUCopyBufferToImagePassTemplate",
  8. "PassClass": "CopyPass",
  9. "Slots": [
  10. {
  11. "Name": "Input",
  12. "SlotType": "Input",
  13. "ScopeAttachmentUsage": "Copy",
  14. "BufferViewDesc": {
  15. "m_elementOffset": 0,
  16. "m_elementCount": 153600,
  17. "m_elementSize": 4
  18. }
  19. },
  20. {
  21. "Name": "Output",
  22. "SlotType": "Output",
  23. "ScopeAttachmentUsage": "Copy"
  24. }
  25. ],
  26. "ImageAttachments": [
  27. {
  28. "Name": "OutputAttachment",
  29. "ImageDescriptor": {
  30. "Format": "R8G8B8A8_UNORM",
  31. "Size": {
  32. "Width": 320,
  33. "Height": 480,
  34. "Depth": 1
  35. }
  36. }
  37. }
  38. ],
  39. "Connections": [
  40. {
  41. "LocalSlot": "Output",
  42. "AttachmentRef": {
  43. "Pass": "This",
  44. "Attachment": "OutputAttachment"
  45. }
  46. }
  47. ]
  48. }
  49. }
  50. }