Updated spirv-tools.

This commit is contained in:
Бранимир Караџић
2021-10-31 20:37:36 -07:00
parent b3beb85688
commit 0abe793a67
57 changed files with 1504 additions and 447 deletions

View File

@@ -1102,6 +1102,10 @@ void LoopUtils::Finalize() {
Pass::Status LoopUnroller::Process() {
bool changed = false;
for (Function& f : *context()->module()) {
if (f.IsDeclaration()) {
continue;
}
LoopDescriptor* LD = context()->GetLoopDescriptor(&f);
for (Loop& loop : *LD) {
LoopUtils loop_utils{context(), &loop};