Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
glslang
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test-restored
platform
external
deqp-deps
glslang
Commits
a25530cc
Commit
a25530cc
authored
7 years ago
by
John Kessenich
Browse files
Options
Downloads
Patches
Plain Diff
Non-functional: Make usage for entry points more consistent.
parent
e22c11fd
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
StandAlone/StandAlone.cpp
+5
-5
5 additions, 5 deletions
StandAlone/StandAlone.cpp
with
5 additions
and
5 deletions
StandAlone/StandAlone.cpp
+
5
−
5
View file @
a25530cc
...
@@ -553,7 +553,7 @@ void ProcessArguments(std::vector<std::unique_ptr<glslang::TWorkItem>>& workItem
...
@@ -553,7 +553,7 @@ void ProcessArguments(std::vector<std::unique_ptr<glslang::TWorkItem>>& workItem
// This is okay for one compilation unit with one entry point.
// This is okay for one compilation unit with one entry point.
entryPointName
=
argv
[
1
];
entryPointName
=
argv
[
1
];
if
(
argc
<=
1
)
if
(
argc
<=
1
)
Error
(
"no <
entry-point
> provided for -e"
);
Error
(
"no <
name
> provided for -e"
);
bumpArg
();
bumpArg
();
break
;
break
;
case
'g'
:
case
'g'
:
...
@@ -1214,13 +1214,13 @@ void usage()
...
@@ -1214,13 +1214,13 @@ void usage()
" creates the default configuration file (redirect to a .conf file)
\n
"
" creates the default configuration file (redirect to a .conf file)
\n
"
" -d default to desktop (#version 110) when there is no shader #version
\n
"
" -d default to desktop (#version 110) when there is no shader #version
\n
"
" (default is ES version 100)
\n
"
" (default is ES version 100)
\n
"
" -e
specify entry-point name
\n
"
" -e
<name>
specify
<name> as the
entry-point name
\n
"
" -g generate debug information
\n
"
" -g generate debug information
\n
"
" -h print this usage message
\n
"
" -h print this usage message
\n
"
" -i intermediate tree (glslang AST) is printed out
\n
"
" -i intermediate tree (glslang AST) is printed out
\n
"
" -l link all input files together to form a single module
\n
"
" -l link all input files together to form a single module
\n
"
" -m memory leak mode
\n
"
" -m memory leak mode
\n
"
" -o
<file> save binary to <file>, requires a binary option (e.g., -V)
\n
"
" -o <file>
save binary to <file>, requires a binary option (e.g., -V)
\n
"
" -q dump reflection query database
\n
"
" -q dump reflection query database
\n
"
" -r synonym for --relaxed-errors
\n
"
" -r synonym for --relaxed-errors
\n
"
" -s silent mode
\n
"
" -s silent mode
\n
"
...
@@ -1264,8 +1264,8 @@ void usage()
...
@@ -1264,8 +1264,8 @@ void usage()
" --shift-UBO-binding [stage] num base binding number for UBOs
\n
"
" --shift-UBO-binding [stage] num base binding number for UBOs
\n
"
" --shift-cbuffer-binding [stage] num synonym for --shift-UBO-binding
\n
"
" --shift-cbuffer-binding [stage] num synonym for --shift-UBO-binding
\n
"
" --sub [stage] num synonym for --shift-UBO-binding
\n
"
" --sub [stage] num synonym for --shift-UBO-binding
\n
"
" --source-entrypoint name
the given shader source function is
\n
"
" --source-entrypoint
<
name
>
the given shader source function is
\n
"
" renamed to be the
entry point
given in -e
\n
"
" renamed to be the
<name>
given in -e
\n
"
" --sep synonym for --source-entrypoint
\n
"
" --sep synonym for --source-entrypoint
\n
"
" --stdin Read from stdin instead of from a file.
\n
"
" --stdin Read from stdin instead of from a file.
\n
"
" You'll have to provide the shader stage
\n
"
" You'll have to provide the shader stage
\n
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment