From 52ee9780928cee38c90b45c6806ab6ff85439869 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Fri, 17 Nov 2023 14:24:20 +0100 Subject: [PATCH] Add packed_booln, halfnxm and floatnxm --- naga/src/back/msl/keywords.rs | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/naga/src/back/msl/keywords.rs b/naga/src/back/msl/keywords.rs index 97e61d67b1..f0025bf239 100644 --- a/naga/src/back/msl/keywords.rs +++ b/naga/src/back/msl/keywords.rs @@ -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", @@ -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",