Skip to content

Commit

Permalink
NonSemanticDebug: Now registering function parameters as variables to…
Browse files Browse the repository at this point in the history
… scopes.
  • Loading branch information
DragonJoker committed Jul 26, 2024
1 parent 0a4b4fb commit 83c9b6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/CompilerSpirV/SpirVGenerateStatements.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2760,6 +2760,7 @@ namespace spirv
{
m_currentScopeId = m_function->id.debug;
beginScope( m_function->debugStart );
m_result.importParentBlockVars( m_currentBlock, m_function->debugParams );
m_scopeLines.push_back( glsl::StatementType::eScopeLine );
visitContainerStmt( stmt );
m_scopeLines.pop_back();
Expand Down

0 comments on commit 83c9b6b

Please sign in to comment.