Fix #120038: Possible fix for macOS buildbot test crash #120432

Open
Jason Fielder wants to merge 1 commits from Jason-Fielder/blender:Fix_120038_PossibleFixForBuildBotCrash into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

1 Commits

Author SHA1 Message Date
Michael Parkin-White 93307db7d6 Fix #120038: Possible fix for macOS buildbot test crash
buildbot/vexp-code-patch-lint Build done. Details
buildbot/vexp-code-patch-darwin-arm64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
The tests appeared to be deadlocking due to reaching
the upper-bound for number of command buffers in flight.

This PR contains two changes to address this. Ensure
in-flight command buffer tracking is atomic and thus can
track command buffer counts across all threads and contexts
correctly.

Secondly, disable the encoder splitting debug option for the
general DEBUG builds, as this option causes excessive
command buffer flushing between operations, which can
cause the limit to be prematurely reached.

Authored by Apple: Michael Parkin-White
2024-04-09 14:38:51 +01:00