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
a09eefd8
Commit
a09eefd8
authored
Apr 07, 2017
by
John Kessenich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Non-functional: Fix typos in comments.
parent
6fa17641
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
doc.cpp
SPIRV/doc.cpp
+2
-2
ShaderLang.h
glslang/Public/ShaderLang.h
+6
-6
No files found.
SPIRV/doc.cpp
View file @
a09eefd8
...
...
@@ -68,9 +68,9 @@ namespace spv {
// Also, the ceilings are declared next to these, to help keep them in sync.
// Ceilings should be
// - one more than the maximum value an enumerant takes on, for non-mask enumerants
// (for non-sparse enums, this is the number of enum
u
rants)
// (for non-sparse enums, this is the number of enum
e
rants)
// - the number of bits consumed by the set of masks
// (for non-sparse mask enums, this is the number of enum
u
rants)
// (for non-sparse mask enums, this is the number of enum
e
rants)
//
const
int
SourceLanguageCeiling
=
6
;
// HLSL todo: need official enumerant
...
...
glslang/Public/ShaderLang.h
View file @
a09eefd8
...
...
@@ -467,25 +467,25 @@ class TIoMapResolver
public
:
virtual
~
TIoMapResolver
()
{}
// Should return true if the resulting/current binding would be ok.
// Should return true if the resulting/current binding would be ok
ay
.
// Basic idea is to do aliasing binding checks with this.
virtual
bool
validateBinding
(
EShLanguage
stage
,
const
char
*
name
,
const
TType
&
type
,
bool
is_live
)
=
0
;
// Should return a value >= 0 if the current binding should be overridden.
// Return -1 if the current binding (including no binding) should be kept.
virtual
int
resolveBinding
(
EShLanguage
stage
,
const
char
*
name
,
const
TType
&
type
,
bool
is_live
)
=
0
;
// Should return a value >= 0 if the current set should be overriden.
// Should return a value >= 0 if the current set should be overrid
d
en.
// Return -1 if the current set (including no set) should be kept.
virtual
int
resolveSet
(
EShLanguage
stage
,
const
char
*
name
,
const
TType
&
type
,
bool
is_live
)
=
0
;
// Should return true if the resul
ing/current setup would be ok
.
// Should return true if the resul
ting/current setup would be okay
.
// Basic idea is to do aliasing checks and reject invalid semantic names.
virtual
bool
validateInOut
(
EShLanguage
stage
,
const
char
*
name
,
const
TType
&
type
,
bool
is_live
)
=
0
;
// Should return a value >= 0 if the current location should be overriden.
// Should return a value >= 0 if the current location should be overrid
d
en.
// Return -1 if the current location (including no location) should be kept.
virtual
int
resolveInOutLocation
(
EShLanguage
stage
,
const
char
*
name
,
const
TType
&
type
,
bool
is_live
)
=
0
;
// Should return a value >= 0 if the current component index should be overriden.
// Should return a value >= 0 if the current component index should be overrid
d
en.
// Return -1 if the current component index (including no index) should be kept.
virtual
int
resolveInOutComponent
(
EShLanguage
stage
,
const
char
*
name
,
const
TType
&
type
,
bool
is_live
)
=
0
;
// Should return a value >= 0 if the current color index should be overriden.
// Should return a value >= 0 if the current color index should be overrid
d
en.
// Return -1 if the current color index (including no index) should be kept.
virtual
int
resolveInOutIndex
(
EShLanguage
stage
,
const
char
*
name
,
const
TType
&
type
,
bool
is_live
)
=
0
;
};
...
...
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