mirror of
https://git.eden-emu.dev/archive/citron
synced 2026-04-04 18:38:32 -04:00
shader: Read branch conditions from an instruction
Fixes the identity removal pass.
This commit is contained in:
@@ -21,7 +21,7 @@ void EmitPhi(EmitContext&, IR::Inst&) {}
|
||||
|
||||
void EmitVoid(EmitContext&) {}
|
||||
|
||||
void EmitDummyReference(EmitContext&) {}
|
||||
void EmitReference(EmitContext&) {}
|
||||
|
||||
void EmitPhiMove(EmitContext& ctx, const IR::Value& phi, const IR::Value& value) {
|
||||
if (phi == value) {
|
||||
|
||||
Reference in New Issue
Block a user