Merge branch 'blender-v4.5-release'

This commit is contained in:
Sergey Sharybin
2025-07-02 10:42:01 +02:00
2 changed files with 3 additions and 3 deletions

View File

@@ -105,7 +105,8 @@ MetalDevice::MetalDevice(const DeviceInfo &info, Stats &stats, Profiler &profile
/* Use "Ray tracing with per component motion interpolation" if available.
* Requires Apple9 support (https://developer.apple.com/metal/Metal-Feature-Set-Tables.pdf). */
if (use_metalrt && [mtlDevice supportsFamily:MTLGPUFamilyApple9]) {
if (@available(macos 15.0, *)) {
/* Concave motion paths weren't correctly bounded prior to macOS 15.6 (#136253). */
if (@available(macos 15.6, *)) {
use_pcmi = DebugFlags().metal.use_metalrt_pcmi;
}
}

View File

@@ -102,9 +102,8 @@ class DebugFlags {
bool use_async_pso_creation = true;
/* Whether to use per-component motion interpolation.
* TODO: Enable by default when "multi step velocity motion blur" fail is fixed.
*/
bool use_metalrt_pcmi = false;
bool use_metalrt_pcmi = true;
};
/* Get instance of debug flags registry. */