This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
impeller/renderer/backend/metal Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 8
8
9
9
namespace impeller {
10
10
namespace {
11
+
12
+ // NOLINTBEGIN(readability-identifier-naming)
13
+
11
14
// TODO(dnfield): remove this declaration when we no longer need to build on
12
15
// machines with lower SDK versions than 11.0.
13
16
#if !defined(MAC_OS_VERSION_11_0) || \
@@ -21,6 +24,8 @@ typedef NS_ENUM(NSInteger, MTLCommandEncoderErrorState) {
21
24
} API_AVAILABLE(macos(11.0 ), ios(14.0 ));
22
25
#endif
23
26
27
+ // NOLINTEND(readability-identifier-naming)
28
+
24
29
API_AVAILABLE (ios(14.0 ), macos(11.0 ))
25
30
NSString * MTLCommandEncoderErrorStateToString (
26
31
MTLCommandEncoderErrorState state) {
@@ -39,6 +44,8 @@ typedef NS_ENUM(NSInteger, MTLCommandEncoderErrorState) {
39
44
return @" unknown" ;
40
45
}
41
46
47
+ // NOLINTBEGIN(readability-identifier-naming)
48
+
42
49
// TODO(dnfield): This can be removed when all bots have been sufficiently
43
50
// upgraded for MAC_OS_VERSION_12_0.
44
51
#if !defined(MAC_OS_VERSION_12_0) || \
@@ -47,6 +54,8 @@ typedef NS_ENUM(NSInteger, MTLCommandEncoderErrorState) {
47
54
constexpr int MTLCommandBufferErrorStackOverflow = 12 ;
48
55
#endif
49
56
57
+ // NOLINTEND(readability-identifier-naming)
58
+
50
59
static NSString * MTLCommandBufferErrorToString (MTLCommandBufferError code) {
51
60
switch (code) {
52
61
case MTLCommandBufferErrorNone :
You can’t perform that action at this time.
0 commit comments