MCPcopy Create free account
hub / github.com/KhronosGroup/glslang / enterLexicalBlock

Method enterLexicalBlock

SPIRV/SpvBuilder.cpp:2856–2866  ·  view source on GitHub ↗

Comments in header

Source from the content-addressed store, hash-verified

2854
2855// Comments in header
2856void Builder::enterLexicalBlock(uint32_t line, uint32_t column)
2857{
2858 if (!emitNonSemanticShaderDebugInfo) {
2859 return;
2860 }
2861
2862 // Generate new lexical scope debug instruction
2863 Id lexId = makeDebugLexicalBlock(line, column);
2864 currentDebugScopeId.push(lexId);
2865 dirtyScopeTracker = true;
2866}
2867
2868// Comments in header
2869void Builder::leaveLexicalBlock()

Callers 1

visitAggregateMethod · 0.80

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected