Cycles: Future-proof ordering of AppleGPUArchitecture enum

_No response_

Pull Request: https://projects.blender.org/blender/blender/pulls/117982
This commit is contained in:
Michael Jones 2024-02-08 16:31:52 +01:00 committed by Michael Jones (Apple)
parent faaa8d4c79
commit 322a2f7b12
1 changed files with 3 additions and 1 deletions

View File

@ -27,11 +27,13 @@ enum MetalGPUVendor {
};
enum AppleGPUArchitecture {
APPLE_UNKNOWN,
APPLE_M1,
APPLE_M2,
APPLE_M2_BIG,
APPLE_M3,
/* Keep APPLE_UNKNOWN at the end of this enum to ensure that unknown future architectures get
the most recent defaults when using comparison operators. */
APPLE_UNKNOWN,
};
/* Contains static Metal helper functions. */