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
040b8ca9
Commit
040b8ca9
authored
Apr 22, 2014
by
John Kessenich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Just make computeTypeLocationSize const.
git-svn-id:
https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26354
e7fa87d3-cd2b-0410-9028-fcbf551c1848
parent
e96ee859
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
Todo.txt
Todo.txt
+0
-0
linkValidate.cpp
glslang/MachineIndependent/linkValidate.cpp
+1
-1
localintermediate.h
glslang/MachineIndependent/localintermediate.h
+1
-1
No files found.
Todo.txt
View file @
040b8ca9
glslang/MachineIndependent/linkValidate.cpp
View file @
040b8ca9
...
@@ -646,7 +646,7 @@ int TIntermediate::addUsedLocation(const TQualifier& qualifier, const TType& typ
...
@@ -646,7 +646,7 @@ int TIntermediate::addUsedLocation(const TQualifier& qualifier, const TType& typ
// Recursively figure out how many locations are used up by an input or output type.
// Recursively figure out how many locations are used up by an input or output type.
// Return the size of type, as measured by "locations".
// Return the size of type, as measured by "locations".
int
TIntermediate
::
computeTypeLocationSize
(
const
TType
&
type
)
int
TIntermediate
::
computeTypeLocationSize
(
const
TType
&
type
)
const
{
{
// "If the declared input is an array of size n and each element takes m locations, it will be assigned m * n
// "If the declared input is an array of size n and each element takes m locations, it will be assigned m * n
// consecutive locations..."
// consecutive locations..."
...
...
glslang/MachineIndependent/localintermediate.h
View file @
040b8ca9
...
@@ -234,7 +234,7 @@ public:
...
@@ -234,7 +234,7 @@ public:
bool
inIoAccessed
(
const
TString
&
name
)
const
{
return
ioAccessed
.
find
(
name
)
!=
ioAccessed
.
end
();
}
bool
inIoAccessed
(
const
TString
&
name
)
const
{
return
ioAccessed
.
find
(
name
)
!=
ioAccessed
.
end
();
}
int
addUsedLocation
(
const
TQualifier
&
,
const
TType
&
,
bool
&
typeCollision
);
int
addUsedLocation
(
const
TQualifier
&
,
const
TType
&
,
bool
&
typeCollision
);
int
computeTypeLocationSize
(
const
TType
&
);
int
computeTypeLocationSize
(
const
TType
&
)
const
;
bool
setXfbBufferStride
(
int
buffer
,
int
stride
)
bool
setXfbBufferStride
(
int
buffer
,
int
stride
)
{
{
...
...
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