gl_shader_decompiler: Implement AST decompiling
This commit is contained in:
parent
f1ed22419c
commit
5d3c5df7f4
11 changed files with 358 additions and 63 deletions
|
@ -425,7 +425,7 @@ void InsertBranch(ASTManager& mm, const BlockBranchInfo& branch) {
|
|||
}
|
||||
if (cond.predicate != Pred::UnusedIndex) {
|
||||
u32 pred = static_cast<u32>(cond.predicate);
|
||||
bool negate;
|
||||
bool negate = false;
|
||||
if (pred > 7) {
|
||||
negate = true;
|
||||
pred -= 8;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue