shader_recompiler: list all missing instructions during translation pass

This commit is contained in:
psucien 2024-06-16 23:45:39 +02:00
parent 396812bab6
commit 0c32ea242b
5 changed files with 9 additions and 1 deletions

View file

@ -823,6 +823,9 @@ IR::AbstractSyntaxList BuildASL(ObjectPool<IR::Inst>& inst_pool, ObjectPool<IR::
Statement& root{goto_pass.RootStatement()};
IR::AbstractSyntaxList syntax_list;
TranslatePass{inst_pool, block_pool, stmt_pool, root, syntax_list, cfg.inst_list, info};
if (info.translation_failed) {
LOG_CRITICAL(Render_Recompiler, "Shader translation has failed");
}
return syntax_list;
}