Shader/NZSL: Add support for array indexing

This commit is contained in:
Jérôme Leclercq
2021-06-01 16:22:41 +02:00
parent 0f3c0abb96
commit 4465e230af
17 changed files with 1139 additions and 976 deletions

View File

@@ -75,9 +75,6 @@ namespace Nz
{
AstRecursiveVisitor::Visit(node);
for (std::size_t index : node.memberIndices)
m_constantCache.Register(*m_constantCache.BuildConstant(Int32(index)));
m_constantCache.Register(*m_constantCache.BuildType(node.cachedExpressionType.value()));
}