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>2021-02-15 13:38:14 +0300
committerHans-Kristian Arntzen <post@arntzen-software.no>2021-02-15 13:38:14 +0300
commit21a931613e567db0308dd07af21fe7725373c676 (patch)
tree67af6619885651b89d66b85a44a449f29c59f5c5 /spirv_hlsl.cpp
parent4741bbaa641d118ca1864094decd1ba977316161 (diff)
HLSL: Add vector to illegal names list.
Diffstat (limited to 'spirv_hlsl.cpp')
-rw-r--r--spirv_hlsl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/spirv_hlsl.cpp b/spirv_hlsl.cpp
index c74fb5f6..04e380e5 100644
--- a/spirv_hlsl.cpp
+++ b/spirv_hlsl.cpp
@@ -1272,7 +1272,7 @@ void CompilerHLSL::replace_illegal_names()
{
static const unordered_set<string> keywords = {
// Additional HLSL specific keywords.
- "line", "linear", "matrix", "point", "row_major", "sampler",
+ "line", "linear", "matrix", "point", "row_major", "sampler", "vector"
};
CompilerGLSL::replace_illegal_names(keywords);