Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
glslang
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
glslang
Commits
22f02d09
Commit
22f02d09
authored
Jan 31, 2018
by
John Kessenich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
EShTargetSpv: Fix #1235, spelling, in a backward compatible way.
parent
6c1c2766
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
StandAlone.cpp
StandAlone/StandAlone.cpp
+1
-1
ShaderLang.h
glslang/Public/ShaderLang.h
+2
-1
No files found.
StandAlone/StandAlone.cpp
View file @
22f02d09
...
@@ -855,7 +855,7 @@ void CompileAndLinkShaderUnits(std::vector<ShaderCompUnit> compUnits)
...
@@ -855,7 +855,7 @@ void CompileAndLinkShaderUnits(std::vector<ShaderCompUnit> compUnits)
:
glslang
::
EShSourceGlsl
,
:
glslang
::
EShSourceGlsl
,
compUnit
.
stage
,
glslang
::
EShClientVulkan
,
ClientInputSemanticsVersion
);
compUnit
.
stage
,
glslang
::
EShClientVulkan
,
ClientInputSemanticsVersion
);
shader
->
setEnvClient
(
glslang
::
EShClientVulkan
,
VulkanClientVersion
);
shader
->
setEnvClient
(
glslang
::
EShClientVulkan
,
VulkanClientVersion
);
shader
->
setEnvTarget
(
glslang
::
E
s
hTargetSpv
,
TargetVersion
);
shader
->
setEnvTarget
(
glslang
::
E
S
hTargetSpv
,
TargetVersion
);
}
else
{
}
else
{
shader
->
setEnvInput
((
Options
&
EOptionReadHlsl
)
?
glslang
::
EShSourceHlsl
shader
->
setEnvInput
((
Options
&
EOptionReadHlsl
)
?
glslang
::
EShSourceHlsl
:
glslang
::
EShSourceGlsl
,
:
glslang
::
EShSourceGlsl
,
...
...
glslang/Public/ShaderLang.h
View file @
22f02d09
...
@@ -119,7 +119,8 @@ typedef enum {
...
@@ -119,7 +119,8 @@ typedef enum {
typedef
enum
{
typedef
enum
{
EShTargetNone
,
EShTargetNone
,
EshTargetSpv
,
EShTargetSpv
,
// preferred spelling
EshTargetSpv
=
EShTargetSpv
,
// legacy spelling
}
EShTargetLanguage
;
}
EShTargetLanguage
;
struct
TInputLanguage
{
struct
TInputLanguage
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment