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
d3d3ce71
Commit
d3d3ce71
authored
May 06, 2016
by
John Kessenich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comments only.
parent
3bdf2426
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
6 additions
and
33 deletions
+6
-33
InReadableOrder.cpp
SPIRV/InReadableOrder.cpp
+0
-4
SpvBuilder.cpp
SPIRV/SpvBuilder.cpp
+0
-4
SpvBuilder.h
SPIRV/SpvBuilder.h
+0
-4
disassemble.cpp
SPIRV/disassemble.cpp
+0
-4
disassemble.h
SPIRV/disassemble.h
+0
-4
doc.cpp
SPIRV/doc.cpp
+0
-4
doc.h
SPIRV/doc.h
+0
-4
spvIR.h
SPIRV/spvIR.h
+0
-4
intermediate.h
glslang/Include/intermediate.h
+5
-0
IntermTraverse.cpp
glslang/MachineIndependent/IntermTraverse.cpp
+1
-1
No files found.
SPIRV/InReadableOrder.cpp
View file @
d3d3ce71
...
@@ -32,10 +32,6 @@
...
@@ -32,10 +32,6 @@
//ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
//ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
//POSSIBILITY OF SUCH DAMAGE.
//POSSIBILITY OF SUCH DAMAGE.
//
// Author: Dejan Mircevski, Google
//
// The SPIR-V spec requires code blocks to appear in an order satisfying the
// The SPIR-V spec requires code blocks to appear in an order satisfying the
// dominator-tree direction (ie, dominator before the dominated). This is,
// dominator-tree direction (ie, dominator before the dominated). This is,
// actually, easy to achieve: any pre-order CFG traversal algorithm will do it.
// actually, easy to achieve: any pre-order CFG traversal algorithm will do it.
...
...
SPIRV/SpvBuilder.cpp
View file @
d3d3ce71
...
@@ -34,10 +34,6 @@
...
@@ -34,10 +34,6 @@
//POSSIBILITY OF SUCH DAMAGE.
//POSSIBILITY OF SUCH DAMAGE.
//
//
// Author: John Kessenich, LunarG
//
//
// Helper for making SPIR-V IR. Generally, this is documented in the header
// Helper for making SPIR-V IR. Generally, this is documented in the header
// SpvBuilder.h.
// SpvBuilder.h.
//
//
...
...
SPIRV/SpvBuilder.h
View file @
d3d3ce71
...
@@ -34,10 +34,6 @@
...
@@ -34,10 +34,6 @@
//POSSIBILITY OF SUCH DAMAGE.
//POSSIBILITY OF SUCH DAMAGE.
//
//
// Author: John Kessenich, LunarG
//
//
// "Builder" is an interface to fully build SPIR-V IR. Allocate one of
// "Builder" is an interface to fully build SPIR-V IR. Allocate one of
// these to build (a thread safe) internal SPIR-V representation (IR),
// these to build (a thread safe) internal SPIR-V representation (IR),
// and then dump it as a binary stream according to the SPIR-V specification.
// and then dump it as a binary stream according to the SPIR-V specification.
...
...
SPIRV/disassemble.cpp
View file @
d3d3ce71
...
@@ -33,10 +33,6 @@
...
@@ -33,10 +33,6 @@
//POSSIBILITY OF SUCH DAMAGE.
//POSSIBILITY OF SUCH DAMAGE.
//
//
// Author: John Kessenich, LunarG
//
//
// Disassembler for SPIR-V.
// Disassembler for SPIR-V.
//
//
...
...
SPIRV/disassemble.h
View file @
d3d3ce71
...
@@ -33,10 +33,6 @@
...
@@ -33,10 +33,6 @@
//POSSIBILITY OF SUCH DAMAGE.
//POSSIBILITY OF SUCH DAMAGE.
//
//
// Author: John Kessenich, LunarG
//
//
// Disassembler for SPIR-V.
// Disassembler for SPIR-V.
//
//
...
...
SPIRV/doc.cpp
View file @
d3d3ce71
...
@@ -33,10 +33,6 @@
...
@@ -33,10 +33,6 @@
//POSSIBILITY OF SUCH DAMAGE.
//POSSIBILITY OF SUCH DAMAGE.
//
//
// Author: John Kessenich, LunarG
//
//
// 1) Programatically fill in instruction/operand information.
// 1) Programatically fill in instruction/operand information.
// This can be used for disassembly, printing documentation, etc.
// This can be used for disassembly, printing documentation, etc.
//
//
...
...
SPIRV/doc.h
View file @
d3d3ce71
...
@@ -33,10 +33,6 @@
...
@@ -33,10 +33,6 @@
//POSSIBILITY OF SUCH DAMAGE.
//POSSIBILITY OF SUCH DAMAGE.
//
//
// Author: John Kessenich, LunarG
//
//
// Parameterize the SPIR-V enumerants.
// Parameterize the SPIR-V enumerants.
//
//
...
...
SPIRV/spvIR.h
View file @
d3d3ce71
...
@@ -32,10 +32,6 @@
...
@@ -32,10 +32,6 @@
//ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
//ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
//POSSIBILITY OF SUCH DAMAGE.
//POSSIBILITY OF SUCH DAMAGE.
//
// Author: John Kessenich, LunarG
//
// SPIRV-IR
// SPIRV-IR
//
//
// Simple in-memory representation (IR) of SPIRV. Just for holding
// Simple in-memory representation (IR) of SPIRV. Just for holding
...
...
glslang/Include/intermediate.h
View file @
d3d3ce71
...
@@ -1002,6 +1002,11 @@ enum TVisit
...
@@ -1002,6 +1002,11 @@ enum TVisit
// If you only want post-visits, explicitly turn off preVisit (and inVisit)
// If you only want post-visits, explicitly turn off preVisit (and inVisit)
// and turn on postVisit.
// and turn on postVisit.
//
//
// In general, for the visit*() methods, return true from interior nodes
// to have the traversal continue on to children.
//
// If you process children yourself, or don't want them processed, return false.
//
class
TIntermTraverser
{
class
TIntermTraverser
{
public
:
public
:
POOL_ALLOCATOR_NEW_DELETE
(
glslang
::
GetThreadPoolAllocator
())
POOL_ALLOCATOR_NEW_DELETE
(
glslang
::
GetThreadPoolAllocator
())
...
...
glslang/MachineIndependent/IntermTraverse.cpp
View file @
d3d3ce71
...
@@ -115,7 +115,7 @@ void TIntermBinary::traverse(TIntermTraverser *it)
...
@@ -115,7 +115,7 @@ void TIntermBinary::traverse(TIntermTraverser *it)
//
//
// Visit the node after the children, if requested and the traversal
// Visit the node after the children, if requested and the traversal
// hasn't been cancel
l
ed yet.
// hasn't been canceled yet.
//
//
if
(
visit
&&
it
->
postVisit
)
if
(
visit
&&
it
->
postVisit
)
it
->
visitBinary
(
EvPostVisit
,
this
);
it
->
visitBinary
(
EvPostVisit
,
this
);
...
...
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