Page MenuHome

Metal: Improve command buffer handling and workload scheduling.
ClosedPublic

Authored by Jason Fielder (jason_apple) on Tue, Jan 17, 2:47 PM.

Details

Summary

Improve handling for cases where maximum in-flight command buffer count is exceeded. This can occur during light-baking operations. Ensures the application handles this gracefully and also improves workload pipelining by situationally stalling until GPU work has completed, if too much work is queued up.

This may have a tangible benefit for T103742 by ensuring Blender does not queue up too much GPU work.

Authored by Apple: Michael Parkin-White

Ref T96261
Ref T103742
Depends on D17018

Diff Detail

Repository
rB Blender
Branch
viewport_commits/MetalCommandBufferSubmission
Build Status
Buildable 25402
Build 25402: arc lint + arc unit

Event Timeline

Jason Fielder (jason_apple) requested review of this revision.Tue, Jan 17, 2:47 PM
Jason Fielder (jason_apple) created this revision.
This revision is now accepted and ready to land.Mon, Jan 23, 10:50 AM
NOTE: Should not have any explicit dependencies on other patches, and should be able to land directly into master. Please let me know if this needs rebasing.