mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-08-17 05:43:15 +00:00
gl_shader_decompiler: Implement AST decompiling
This commit is contained in:
committed by
FernandoS27
parent
f1ed22419c
commit
5d3c5df7f4
@@ -72,4 +72,11 @@ bool ExprAreOpposite(Expr first, Expr second) {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool ExprIsTrue(Expr first) {
|
||||
if (ExprIsBoolean(first)) {
|
||||
return ExprBooleanGet(first);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
} // namespace VideoCommon::Shader
|
||||
|
||||
Reference in New Issue
Block a user