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>2022-08-09 12:56:52 +0300
committerHans-Kristian Arntzen <post@arntzen-software.no>2022-08-09 12:56:52 +0300
commita725d8fad1f73d2c2e6cf9a7af33efde5b321b12 (patch)
tree66de806b6435e96c50e7cbdc37de6b1da0ab9633
parent1bc05ef73575654c79e61390269c83a03c09b86c (diff)
Fix minor style nit from review.
-rw-r--r--spirv_msl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/spirv_msl.cpp b/spirv_msl.cpp
index 0918fb40..09a063b2 100644
--- a/spirv_msl.cpp
+++ b/spirv_msl.cpp
@@ -4867,7 +4867,7 @@ void CompilerMSL::add_typedef_line(const string &line)
// Template struct like spvUnsafeArray<> need to be declared *before* any resources are declared
void CompilerMSL::emit_custom_templates()
{
- static const string address_spaces[] = {
+ static const char * const address_spaces[] = {
"thread", "constant", "device", "threadgroup", "threadgroup_imageblock", "ray_data", "object_data"
};