Shader: Fix index remapping when importing a text shader in a precompiled shader

This commit is contained in:
SirLynix
2022-05-12 23:08:21 +02:00
parent 6469ab5fde
commit 5544d336ab
6 changed files with 57 additions and 28 deletions

View File

@@ -7,10 +7,10 @@
namespace Nz::ShaderAst
{
StatementPtr RemapIndices(Statement& statement, const IndexRemapperVisitor::Callbacks& callbacks)
StatementPtr RemapIndices(Statement& statement, const IndexRemapperVisitor::Options& options)
{
IndexRemapperVisitor visitor;
return visitor.Clone(statement, callbacks);
return visitor.Clone(statement, options);
}
}