Skip to content

Commit

Permalink
Add Metal 3.0 and 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
atlv24 committed Mar 14, 2024
1 parent b0f88c1 commit 0ff4b03
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/library.rs
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,10 @@ pub enum MTLLanguageVersion {
V2_3 = 0x20003,
/// available on macOS 12.0+, iOS 15.0+
V2_4 = 0x20004,
/// available on macOS 13.0+, iOS 16.0+
V3_0 = 0x30000,
/// available on macOS 14.0+, iOS 17.0+
V3_1 = 0x30001,
}

/// See <https://developer.apple.com/documentation/metal/mtlfunctionconstantvalues/>
Expand Down

0 comments on commit 0ff4b03

Please sign in to comment.