o3de / o3de-atom-sampleviewer

Atom sample viewer project for the Open 3D Engine
https://o3de.org
Other
31 stars 35 forks source link

Utilize `context.GetDeviceIndex()` where possible #670

Closed martinwinter-huawei closed 5 months ago

martinwinter-huawei commented 5 months ago

This commit is, similar to the corresponding commit chain on multi-device-resources|o3de, one commit in a series of commits that introduces the usage of multi-device resources on the RHI-level as well as some changes that have been introduced in the meantime.

This specifically removes as many instances of RHI::MultiDevice::DefaultDeviceIndex in favour of retrieving the device index from the FrameGraphExecuteContext.

The goal of this integration is that each commit here runs in tandem with a commit on the corresponding o3de branch, in this case the commit in question is context with device index.

Name Link Status
Buffer #661 merged
Image #662 merged
Query #663 merged
PipelineState #664 merged
RayTracing #667 merged
TransientAttachmentPool too small, together with SRG
SwapChain nothing to do
SRG #668 merged
DrawItem #669 merged
FrameGraph Part I this PR open