mirror of
https://github.com/RPCS3/glslang.git
synced 2025-02-13 06:41:20 +00:00
EShTargetSpv: Fix #1235, spelling, in a backward compatible way.
This commit is contained in:
parent
6c1c2766b6
commit
22f02d09cc
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user