Shader: Fix index remapping when importing a text shader in a precompiled shader
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user