Skip to content
Snippets Groups Projects
Commit 22f02d09 authored by John Kessenich's avatar John Kessenich
Browse files

EShTargetSpv: Fix #1235, spelling, in a backward compatible way.

parent 6c1c2766
No related branches found
No related tags found
No related merge requests found
......@@ -855,7 +855,7 @@ void CompileAndLinkShaderUnits(std::vector<ShaderCompUnit> compUnits)
: glslang::EShSourceGlsl,
compUnit.stage, glslang::EShClientVulkan, ClientInputSemanticsVersion);
shader->setEnvClient(glslang::EShClientVulkan, VulkanClientVersion);
shader->setEnvTarget(glslang::EshTargetSpv, TargetVersion);
shader->setEnvTarget(glslang::EShTargetSpv, TargetVersion);
} else {
shader->setEnvInput((Options & EOptionReadHlsl) ? glslang::EShSourceHlsl
: glslang::EShSourceGlsl,
......
......@@ -119,7 +119,8 @@ typedef enum {
typedef enum {
EShTargetNone,
EshTargetSpv,
EShTargetSpv, // preferred spelling
EshTargetSpv = EShTargetSpv, // legacy spelling
} EShTargetLanguage;
struct TInputLanguage {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment