Comments only.
authorJohn Kessenich <cepheus@frii.com>
Fri, 6 May 2016 19:06:11 +0000 (13:06 -0600)
committerJohn Kessenich <cepheus@frii.com>
Fri, 6 May 2016 19:06:11 +0000 (13:06 -0600)
SPIRV/InReadableOrder.cpp
SPIRV/SpvBuilder.cpp
SPIRV/SpvBuilder.h
SPIRV/disassemble.cpp
SPIRV/disassemble.h
SPIRV/doc.cpp
SPIRV/doc.h
SPIRV/spvIR.h
glslang/Include/intermediate.h
glslang/MachineIndependent/IntermTraverse.cpp

index 142d716..86aae6d 100644 (file)
 //ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 //POSSIBILITY OF SUCH DAMAGE.
 
-//
-// Author: Dejan Mircevski, Google
-//
-
 // The SPIR-V spec requires code blocks to appear in an order satisfying the
 // dominator-tree direction (ie, dominator before the dominated).  This is,
 // actually, easy to achieve: any pre-order CFG traversal algorithm will do it.
index d3f2ced..5341047 100644 (file)
 //POSSIBILITY OF SUCH DAMAGE.
 
 //
-// Author: John Kessenich, LunarG
-//
-
-//
 // Helper for making SPIR-V IR.  Generally, this is documented in the header
 // SpvBuilder.h.
 //
index 35138b0..01cd603 100755 (executable)
 //POSSIBILITY OF SUCH DAMAGE.
 
 //
-// Author: John Kessenich, LunarG
-//
-
-//
 // "Builder" is an interface to fully build SPIR-V IR.   Allocate one of
 // 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.
index e1eddde..75688cb 100644 (file)
 //POSSIBILITY OF SUCH DAMAGE.
 
 //
-// Author: John Kessenich, LunarG
-//
-
-//
 // Disassembler for SPIR-V.
 //
 
index be537a3..f5d0bc2 100755 (executable)
 //POSSIBILITY OF SUCH DAMAGE.
 
 //
-// Author: John Kessenich, LunarG
-//
-
-//
 // Disassembler for SPIR-V.
 //
 
index 7ee86b5..fed3ec4 100755 (executable)
 //POSSIBILITY OF SUCH DAMAGE.
 
 //
-// Author: John Kessenich, LunarG
-//
-
-//
 // 1) Programatically fill in instruction/operand information.
 //    This can be used for disassembly, printing documentation, etc.
 //
index b792979..cf9e059 100644 (file)
 //POSSIBILITY OF SUCH DAMAGE.
 
 //
-// Author: John Kessenich, LunarG
-//
-
-//
 // Parameterize the SPIR-V enumerants.
 //
 
index 3c48387..7c9fb98 100755 (executable)
 //ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 //POSSIBILITY OF SUCH DAMAGE.
 
-//
-// Author: John Kessenich, LunarG
-//
-
 // SPIRV-IR
 //
 // Simple in-memory representation (IR) of SPIRV.  Just for holding
index 6353a0a..3b819de 100644 (file)
@@ -1002,6 +1002,11 @@ enum TVisit
 // If you only want post-visits, explicitly turn off preVisit (and inVisit) 
 // 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 {
 public:
     POOL_ALLOCATOR_NEW_DELETE(glslang::GetThreadPoolAllocator())
index 44743ea..b910f47 100644 (file)
@@ -115,7 +115,7 @@ void TIntermBinary::traverse(TIntermTraverser *it)
 
     //
     // Visit the node after the children, if requested and the traversal
-    // hasn't been cancelled yet.
+    // hasn't been canceled yet.
     //
     if (visit && it->postVisit)
         it->visitBinary(EvPostVisit, this);