This PR introduces sample multi-GPU sample implementation for both RHI & RPI, both are based on the TriangleExampleComponent, which simply renders a triangle (the RHI sample also animates the position of the triangle).
Both cases split the screen in the middle, render the left half on device 0 and the right half on device 1. The right half is then copied over from device 1 to device 0 (either via a copy-ScopeProducer in the RHI sample or using the CopyPass in case of RPI) and composited there for the final output.
This PR also includes some commits that are already present in development, but not yet in multi-device-resources and will be removed in a rebase.
Also, some fixes are included as well, the full list of commits is
This PR introduces sample multi-GPU sample implementation for both RHI & RPI, both are based on the
TriangleExampleComponent
, which simply renders a triangle (the RHI sample also animates the position of the triangle).Both cases split the screen in the middle, render the left half on device 0 and the right half on device 1. The right half is then copied over from device 1 to device 0 (either via a copy-ScopeProducer in the
RHI
sample or using theCopyPass
in case ofRPI
) and composited there for the final output.This PR also includes some commits that are already present in
development
, but not yet inmulti-device-resources
and will be removed in a rebase. Also, some fixes are included as well, the full list of commits isIndirectRenderingExample
DefaultDevice
toAllDevices
to work correctly