Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/SPIRV-Cross.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Kristian Arntzen <post@arntzen-software.no>2019-09-06 15:23:16 +0300
committerHans-Kristian Arntzen <post@arntzen-software.no>2019-09-06 15:23:16 +0300
commit2082e7e80189843a52d9a79bc17787af93b517de (patch)
treed72c0edcb7c653d812698649d4a19e5674e454ee
parentee0ac3b3137bb8a832e0280429602f3c70dc2812 (diff)
Run format_all.sh.2019-09-06
-rw-r--r--spirv_msl.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/spirv_msl.cpp b/spirv_msl.cpp
index ecde3c75..9c7bc232 100644
--- a/spirv_msl.cpp
+++ b/spirv_msl.cpp
@@ -846,10 +846,10 @@ void CompilerMSL::emit_entry_point_declarations()
string arrays;
for (uint32_t i = uint32_t(type.array.size()); i; --i)
arrays += join("[", indices[i - 1], "]");
- statement("(", get_argument_address_space(var), " ", type_to_glsl(type), "* ", to_restrict(var_id, false),
- ")((", get_argument_address_space(var), " char* ", to_restrict(var_id, false), ")",
- to_name(arg_id), ".", ensure_valid_name(name, "m"), arrays, " + ",
- to_name(dynamic_offsets_buffer_id), "[", base_index + j, "]),");
+ statement("(", get_argument_address_space(var), " ", type_to_glsl(type), "* ",
+ to_restrict(var_id, false), ")((", get_argument_address_space(var), " char* ",
+ to_restrict(var_id, false), ")", to_name(arg_id), ".", ensure_valid_name(name, "m"),
+ arrays, " + ", to_name(dynamic_offsets_buffer_id), "[", base_index + j, "]),");
while (++indices[dim] >= to_array_size_literal(type, dim) && dim < type.array.size() - 1)
{