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
c6ede893
Commit
c6ede893
authored
Aug 11, 2016
by
Dan Baker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changing target to stage
parent
45d49bcd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
StandAlone.cpp
StandAlone/StandAlone.cpp
+5
-5
No files found.
StandAlone/StandAlone.cpp
View file @
c6ede893
...
@@ -155,7 +155,7 @@ int Options = 0;
...
@@ -155,7 +155,7 @@ int Options = 0;
const
char
*
ExecutableName
=
nullptr
;
const
char
*
ExecutableName
=
nullptr
;
const
char
*
binaryFileName
=
nullptr
;
const
char
*
binaryFileName
=
nullptr
;
const
char
*
entryPointName
=
nullptr
;
const
char
*
entryPointName
=
nullptr
;
const
char
*
shader
Target
Name
=
nullptr
;
const
char
*
shader
Stage
Name
=
nullptr
;
//
//
// Create the default name for saving a binary if -o is not provided.
// Create the default name for saving a binary if -o is not provided.
...
@@ -238,7 +238,7 @@ void ProcessArguments(int argc, char* argv[])
...
@@ -238,7 +238,7 @@ void ProcessArguments(int argc, char* argv[])
Options
|=
EOptionLinkProgram
;
Options
|=
EOptionLinkProgram
;
break
;
break
;
case
'T'
:
case
'T'
:
shader
Target
Name
=
argv
[
1
];
shader
Stage
Name
=
argv
[
1
];
if
(
argc
>
0
)
{
if
(
argc
>
0
)
{
argc
--
;
argc
--
;
argv
++
;
argv
++
;
...
@@ -696,8 +696,8 @@ EShLanguage FindLanguage(const std::string& name)
...
@@ -696,8 +696,8 @@ EShLanguage FindLanguage(const std::string& name)
}
}
std
::
string
suffix
=
name
.
substr
(
ext
+
1
,
std
::
string
::
npos
);
std
::
string
suffix
=
name
.
substr
(
ext
+
1
,
std
::
string
::
npos
);
if
(
shader
Target
Name
)
if
(
shader
Stage
Name
)
suffix
=
shader
Target
Name
;
suffix
=
shader
Stage
Name
;
if
(
suffix
==
"vert"
)
if
(
suffix
==
"vert"
)
return
EShLangVertex
;
return
EShLangVertex
;
...
@@ -792,7 +792,7 @@ void usage()
...
@@ -792,7 +792,7 @@ void usage()
" -H print human readable form of SPIR-V; turns on -V
\n
"
" -H print human readable form of SPIR-V; turns on -V
\n
"
" -E print pre-processed GLSL; cannot be used with -l;
\n
"
" -E print pre-processed GLSL; cannot be used with -l;
\n
"
" errors will appear on stderr.
\n
"
" errors will appear on stderr.
\n
"
" -
T <target> uses explicit target
specified, rather then the file extension.
\n
"
" -
S <stage> uses explicit stage
specified, rather then the file extension.
\n
"
" valid choices are vert,tesc, tese,geom, rag,comp
\n
"
" valid choices are vert,tesc, tese,geom, rag,comp
\n
"
" -c configuration dump;
\n
"
" -c configuration dump;
\n
"
" creates the default configuration file (redirect to a .conf file)
\n
"
" creates the default configuration file (redirect to a .conf file)
\n
"
...
...
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