Revert "Try to fix GCC error"
This reverts commit 11d5eb7d6063e6cf1da276cc5981d2d57e13f05e.
This commit is contained in:
@@ -605,7 +605,7 @@ namespace Nz
|
||||
template<typename T>
|
||||
void LangWriter::AppendIdentifier(const T& map, std::size_t id)
|
||||
{
|
||||
const auto& structIdentifier = RetrieveConst(map, id);
|
||||
const auto& structIdentifier = Retrieve(map, id);
|
||||
if (structIdentifier.moduleIndex != m_currentState->currentModuleIndex)
|
||||
Append(m_currentState->moduleNames[structIdentifier.moduleIndex], '.');
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace Nz
|
||||
|
||||
auto SpirvAstVisitor::GetVariable(std::size_t varIndex) const -> const Variable&
|
||||
{
|
||||
return RetrieveConst(m_variables, varIndex);
|
||||
return Retrieve(m_variables, varIndex);
|
||||
}
|
||||
|
||||
void SpirvAstVisitor::Visit(ShaderAst::AccessIndexExpression& node)
|
||||
|
||||
Reference in New Issue
Block a user