mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-21 22:16:38 +00:00
Remove gotos before labels even if those labels are ref'd elsewhere
This commit is contained in:
@@ -1227,6 +1227,12 @@ struct SPVModule
|
||||
funcops.erase(funcops.begin()+l);
|
||||
continue;
|
||||
}
|
||||
else
|
||||
{
|
||||
// if it is refd, we can at least remove the goto
|
||||
funcops.erase(funcops.begin()+l);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user