Shader_ir: Address feedback

This commit is contained in:
Fernando Sahmkow 2019-10-04 17:23:16 -04:00 committed by FernandoS27
parent 3c09d9abe6
commit e6eae4b815
6 changed files with 24 additions and 65 deletions

View file

@ -90,7 +90,7 @@ public:
if (node->IsBlockEncoded()) {
auto block = std::get_if<ASTBlockEncoded>(node->GetInnerData());
NodeBlock bb = ir.DecodeRange(block->start, block->end);
node->TransformBlockEncoded(bb);
node->TransformBlockEncoded(std::move(bb));
}
}