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

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
Jeroen Bakker dcbfc3cba9 Resolved review comments.
buildbot/vexp-code-patch-coordinator Build done. Details
2023-06-26 11:59:03 +02:00
Jeroen Bakker 5b6867816d Fix 107322: MacOS/ATI Crash When Starting Eevee
buildbot/vexp-code-patch-coordinator Build done. Details
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