mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Cycles tests: Enable MNEE test on Metal on supported macOS version
MNEE tests were disabled on Metal due to the feature not being supported in macOS < 13. This commit enables MNEE tests on Metal GPUs if they are using macOS >= 13, otherwise leave it disabled. Pull Request: https://projects.blender.org/blender/blender/pulls/124709
This commit is contained in:
parent
047568f633
commit
ef010da315
1 changed files with 11 additions and 4 deletions
|
|
@ -4,6 +4,7 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import argparse
|
||||
import platform
|
||||
import os
|
||||
import shlex
|
||||
import sys
|
||||
|
|
@ -32,10 +33,16 @@ BLACKLIST_OPTIX = [
|
|||
'T43865.blend',
|
||||
]
|
||||
|
||||
BLACKLIST_METAL = [
|
||||
# MNEE only works on Metal with macOS >= 13
|
||||
"underwater_caustics.blend",
|
||||
]
|
||||
BLACKLIST_METAL = []
|
||||
|
||||
if platform.system() == "Darwin":
|
||||
version, _, _ = platform.mac_ver()
|
||||
major_version = version.split(".")[0]
|
||||
if int(major_version) < 13:
|
||||
BLACKLIST_METAL += [
|
||||
# MNEE only works on Metal with macOS >= 13
|
||||
"underwater_caustics.blend",
|
||||
]
|
||||
|
||||
BLACKLIST_GPU = [
|
||||
# Uninvestigated differences with GPU.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue