Skip to content

Commit

Permalink
Add packed_booln, halfnxm and floatnxm
Browse files Browse the repository at this point in the history
  • Loading branch information
fornwall committed Nov 17, 2023
1 parent 7db34b1 commit 52ee978
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions naga/src/back/msl/keywords.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ pub const RESERVED: &[&str] = &[
"float4",
"vec",
// Metal Shading Language Specification: 2.2.3 Packed Vector Types
"packed_bool2",
"packed_bool3",
"packed_bool4",
"packed_char2",
"packed_char3",
"packed_char4",
Expand Down Expand Up @@ -179,6 +182,24 @@ pub const RESERVED: &[&str] = &[
"packed_long4",
"packed_vec",
// Metal Shading Language Specification: 2.3 Matrix Data Types
"half2x2",
"half2x3",
"half2x4",
"half3x2",
"half3x3",
"half3x4",
"half4x2",
"half4x3",
"half4x4",
"float2x2",
"float2x3",
"float2x4",
"float3x2",
"float3x3",
"float3x4",
"float4x2",
"float4x3",
"float4x4",
"matrix",
// Metal Shading Language Specification: 2.6 Atomic Data Types
"atomic",
Expand Down

0 comments on commit 52ee978

Please sign in to comment.