Fix 107322: MacOS/ATI Crash When Starting Eevee #109358

Merged
Jeroen Bakker merged 2 commits from Jeroen-Bakker/blender:macos-raytrace-infinitive-loop into blender-v3.6-release 2023-06-26 14:12:51 +02:00

2 Commits

Author SHA1 Message Date
dcbfc3cba9 Resolved review comments.
All checks were successful
buildbot/vexp-code-patch-coordinator Build done.
2023-06-26 11:59:03 +02:00
5b6867816d Fix 107322: MacOS/ATI Crash When Starting Eevee
All checks were successful
buildbot/vexp-code-patch-coordinator Build done.
When using ATI GPU on MacOS/Metal compilation of Eevee shaders crashed due to an infinitive
loop in the compiler backend. This change fixes this by using a more reliable loop that
ensures that the loop will be finite.

Thanks for the Apple developers working on finding the root cause and Michael Parking White
for the initial fix.

Fixes #107322
Fixes #107451
2023-06-26 08:26:34 +02:00