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
32fd5d26
Commit
32fd5d26
authored
Feb 02, 2017
by
John Kessenich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Memory/constructor/warning clean-up. Addresses issue #705.
parent
f1aeac89
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
5 deletions
+12
-5
PoolAlloc.h
glslang/Include/PoolAlloc.h
+1
-1
revision.h
glslang/Include/revision.h
+2
-2
PoolAlloc.cpp
glslang/MachineIndependent/PoolAlloc.cpp
+2
-2
ShaderLang.cpp
glslang/MachineIndependent/ShaderLang.cpp
+1
-0
iomapper.cpp
glslang/MachineIndependent/iomapper.cpp
+3
-0
ShaderLang.h
glslang/Public/ShaderLang.h
+1
-0
hlslGrammar.cpp
hlsl/hlslGrammar.cpp
+2
-0
No files found.
glslang/Include/PoolAlloc.h
View file @
32fd5d26
...
@@ -255,7 +255,7 @@ extern TPoolAllocator& GetThreadPoolAllocator();
...
@@ -255,7 +255,7 @@ extern TPoolAllocator& GetThreadPoolAllocator();
struct
TThreadMemoryPools
struct
TThreadMemoryPools
{
{
TPoolAllocator
*
threadPoolAllocator
;
TPoolAllocator
*
threadPoolAllocator
;
};
};
void
SetThreadPoolAllocator
(
TPoolAllocator
&
poolAllocator
);
void
SetThreadPoolAllocator
(
TPoolAllocator
&
poolAllocator
);
...
...
glslang/Include/revision.h
View file @
32fd5d26
...
@@ -2,5 +2,5 @@
...
@@ -2,5 +2,5 @@
// For the version, it uses the latest git tag followed by the number of commits.
// For the version, it uses the latest git tag followed by the number of commits.
// For the date, it uses the current date (when then script is run).
// For the date, it uses the current date (when then script is run).
#define GLSLANG_REVISION "Overload400-PrecQual.1
773
"
#define GLSLANG_REVISION "Overload400-PrecQual.1
804
"
#define GLSLANG_DATE "
19-Jan
-2017"
#define GLSLANG_DATE "
02-Feb
-2017"
glslang/MachineIndependent/PoolAlloc.cpp
View file @
32fd5d26
...
@@ -105,8 +105,8 @@ void SetThreadPoolAllocator(TPoolAllocator& poolAllocator)
...
@@ -105,8 +105,8 @@ void SetThreadPoolAllocator(TPoolAllocator& poolAllocator)
TPoolAllocator
::
TPoolAllocator
(
int
growthIncrement
,
int
allocationAlignment
)
:
TPoolAllocator
::
TPoolAllocator
(
int
growthIncrement
,
int
allocationAlignment
)
:
pageSize
(
growthIncrement
),
pageSize
(
growthIncrement
),
alignment
(
allocationAlignment
),
alignment
(
allocationAlignment
),
freeList
(
0
),
freeList
(
nullptr
),
inUseList
(
0
),
inUseList
(
nullptr
),
numCalls
(
0
)
numCalls
(
0
)
{
{
//
//
...
...
glslang/MachineIndependent/ShaderLang.cpp
View file @
32fd5d26
...
@@ -1632,6 +1632,7 @@ TProgram::TProgram() : pool(0), reflection(0), ioMapper(nullptr), linked(false)
...
@@ -1632,6 +1632,7 @@ TProgram::TProgram() : pool(0), reflection(0), ioMapper(nullptr), linked(false)
TProgram
::~
TProgram
()
TProgram
::~
TProgram
()
{
{
delete
ioMapper
;
delete
infoSink
;
delete
infoSink
;
delete
reflection
;
delete
reflection
;
...
...
glslang/MachineIndependent/iomapper.cpp
View file @
32fd5d26
...
@@ -209,6 +209,9 @@ struct TResolverAdaptor
...
@@ -209,6 +209,9 @@ struct TResolverAdaptor
TIoMapResolver
&
resolver
;
TIoMapResolver
&
resolver
;
TInfoSink
&
infoSink
;
TInfoSink
&
infoSink
;
bool
&
error
;
bool
&
error
;
private
:
TResolverAdaptor
&
operator
=
(
TResolverAdaptor
&
);
};
};
/*
/*
...
...
glslang/Public/ShaderLang.h
View file @
32fd5d26
...
@@ -540,6 +540,7 @@ protected:
...
@@ -540,6 +540,7 @@ protected:
bool
linked
;
bool
linked
;
private
:
private
:
TProgram
(
TProgram
&
);
TProgram
&
operator
=
(
TProgram
&
);
TProgram
&
operator
=
(
TProgram
&
);
};
};
...
...
hlsl/hlslGrammar.cpp
View file @
32fd5d26
...
@@ -2319,6 +2319,8 @@ bool HlslGrammar::acceptPostfixExpression(TIntermTyped*& node)
...
@@ -2319,6 +2319,8 @@ bool HlslGrammar::acceptPostfixExpression(TIntermTyped*& node)
tFinalize
(
HlslParseContext
&
p
)
:
parseContext
(
p
)
{
}
tFinalize
(
HlslParseContext
&
p
)
:
parseContext
(
p
)
{
}
~
tFinalize
()
{
parseContext
.
finalizeFlattening
();
}
~
tFinalize
()
{
parseContext
.
finalizeFlattening
();
}
HlslParseContext
&
parseContext
;
HlslParseContext
&
parseContext
;
private
:
tFinalize
&
operator
=
(
tFinalize
&
)
{
}
}
finalize
(
parseContext
);
}
finalize
(
parseContext
);
// Initialize the flattening accumulation data, so we can track data across multiple bracket or
// Initialize the flattening accumulation data, so we can track data across multiple bracket or
...
...
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