diff --git a/SPIRV/InReadableOrder.cpp b/SPIRV/InReadableOrder.cpp index 142d716b..86aae6d0 100644 --- a/SPIRV/InReadableOrder.cpp +++ b/SPIRV/InReadableOrder.cpp @@ -32,10 +32,6 @@ //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. diff --git a/SPIRV/SpvBuilder.cpp b/SPIRV/SpvBuilder.cpp index d3f2ced2..53410477 100644 --- a/SPIRV/SpvBuilder.cpp +++ b/SPIRV/SpvBuilder.cpp @@ -33,10 +33,6 @@ //ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE //POSSIBILITY OF SUCH DAMAGE. -// -// Author: John Kessenich, LunarG -// - // // Helper for making SPIR-V IR. Generally, this is documented in the header // SpvBuilder.h. diff --git a/SPIRV/SpvBuilder.h b/SPIRV/SpvBuilder.h index 35138b05..01cd6038 100755 --- a/SPIRV/SpvBuilder.h +++ b/SPIRV/SpvBuilder.h @@ -33,10 +33,6 @@ //ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE //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), diff --git a/SPIRV/disassemble.cpp b/SPIRV/disassemble.cpp index e1edddec..75688cb9 100644 --- a/SPIRV/disassemble.cpp +++ b/SPIRV/disassemble.cpp @@ -32,10 +32,6 @@ //ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE //POSSIBILITY OF SUCH DAMAGE. -// -// Author: John Kessenich, LunarG -// - // // Disassembler for SPIR-V. // diff --git a/SPIRV/disassemble.h b/SPIRV/disassemble.h index be537a37..f5d0bc23 100755 --- a/SPIRV/disassemble.h +++ b/SPIRV/disassemble.h @@ -32,10 +32,6 @@ //ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE //POSSIBILITY OF SUCH DAMAGE. -// -// Author: John Kessenich, LunarG -// - // // Disassembler for SPIR-V. // diff --git a/SPIRV/doc.cpp b/SPIRV/doc.cpp index 7ee86b5b..fed3ec42 100755 --- a/SPIRV/doc.cpp +++ b/SPIRV/doc.cpp @@ -32,10 +32,6 @@ //ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE //POSSIBILITY OF SUCH DAMAGE. -// -// Author: John Kessenich, LunarG -// - // // 1) Programatically fill in instruction/operand information. // This can be used for disassembly, printing documentation, etc. diff --git a/SPIRV/doc.h b/SPIRV/doc.h index b7929793..cf9e059b 100644 --- a/SPIRV/doc.h +++ b/SPIRV/doc.h @@ -32,10 +32,6 @@ //ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE //POSSIBILITY OF SUCH DAMAGE. -// -// Author: John Kessenich, LunarG -// - // // Parameterize the SPIR-V enumerants. // diff --git a/SPIRV/spvIR.h b/SPIRV/spvIR.h index 3c483872..7c9fb987 100755 --- a/SPIRV/spvIR.h +++ b/SPIRV/spvIR.h @@ -32,10 +32,6 @@ //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 diff --git a/glslang/Include/intermediate.h b/glslang/Include/intermediate.h index 6353a0a0..3b819de0 100644 --- a/glslang/Include/intermediate.h +++ b/glslang/Include/intermediate.h @@ -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()) diff --git a/glslang/MachineIndependent/IntermTraverse.cpp b/glslang/MachineIndependent/IntermTraverse.cpp index 44743eaf..b910f473 100644 --- a/glslang/MachineIndependent/IntermTraverse.cpp +++ b/glslang/MachineIndependent/IntermTraverse.cpp @@ -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);