@@ -846,10 +846,10 @@ void CompilerMSL::emit_entry_point_declarations()
846846 string arrays;
847847 for (uint32_t i = uint32_t (type.array .size ()); i; --i)
848848 arrays += join (" [" , indices[i - 1 ], " ]" );
849- statement (" (" , get_argument_address_space (var), " " , type_to_glsl (type), " * " , to_restrict (var_id, false ),
850- " )((" , get_argument_address_space (var), " char* " , to_restrict (var_id, false ), " ) " ,
851- to_name (arg_id), " ." , ensure_valid_name (name, " m" ), arrays, " + " ,
852- to_name (dynamic_offsets_buffer_id), " [" , base_index + j, " ])," );
849+ statement (" (" , get_argument_address_space (var), " " , type_to_glsl (type), " * " ,
850+ to_restrict (var_id, false ), " )((" , get_argument_address_space (var), " char* " ,
851+ to_restrict (var_id, false ), " ) " , to_name (arg_id), " ." , ensure_valid_name (name, " m" ),
852+ arrays, " + " , to_name (dynamic_offsets_buffer_id), " [" , base_index + j, " ])," );
853853
854854 while (++indices[dim] >= to_array_size_literal (type, dim) && dim < type.array .size () - 1 )
855855 {
0 commit comments