From 8e67fd586138529134a3b10148fcb0a4e2086de6 Mon Sep 17 00:00:00 2001 From: Sasha Szpakowski Date: Sat, 15 Jun 2024 15:02:44 -0300 Subject: [PATCH] metal: fix compile error --- src/modules/graphics/metal/Shader.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/graphics/metal/Shader.mm b/src/modules/graphics/metal/Shader.mm index 2e14ed731..9bf1ec09c 100644 --- a/src/modules/graphics/metal/Shader.mm +++ b/src/modules/graphics/metal/Shader.mm @@ -290,7 +290,7 @@ static EShLanguage getGLSLangStage(ShaderStageType stage) case SPIRType::Struct: if (membertype.op == spv::OpTypeArray) { - size_t arraystride = comp.type_struct_member_array_stride(type, uindex); + size_t arraystride = msl.type_struct_member_array_stride(type, uindex); for (uint32 i = 0; i < membertype.array[0]; i++) { std::string structname = name + "[" + std::to_string(i) + "].";