diff options
author | Hans-Kristian Arntzen <post@arntzen-software.no> | 2021-02-15 13:38:14 +0300 |
---|---|---|
committer | Hans-Kristian Arntzen <post@arntzen-software.no> | 2021-02-15 13:38:14 +0300 |
commit | 21a931613e567db0308dd07af21fe7725373c676 (patch) | |
tree | 67af6619885651b89d66b85a44a449f29c59f5c5 /spirv_hlsl.cpp | |
parent | 4741bbaa641d118ca1864094decd1ba977316161 (diff) |
HLSL: Add vector to illegal names list.
Diffstat (limited to 'spirv_hlsl.cpp')
-rw-r--r-- | spirv_hlsl.cpp | 2 |
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); |