Cycles: Allow get_apple_gpu_architecture to report non Apple GPUs #120448

Merged
Brecht Van Lommel merged 3 commits from Alaska/blender:complex-120299 into main 2024-04-15 15:04:36 +02:00
1 changed files with 3 additions and 3 deletions
Showing only changes of commit 781b9e1806 - Show all commits

View File

@ -27,9 +27,9 @@ enum MetalGPUVendor {
};
enum AppleGPUArchitecture {
/* NOT_APPLE_GPU is AMD and Intel GPUs. This should remained at the start of this enum to
ensure that AMD/Intel GPUs don't get Apple Silicon only features enabled when using comparison
operators. */
/* NOT_APPLE_GPU represents AMD/Intel GPUs. This should remained at the start of this enum to
* ensure that AMD/Intel GPUs don't accidentally get Apple Silicon only features enabled when
* using comparison operators. */
NOT_APPLE_GPU,
APPLE_M1,
APPLE_M2,