mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 18:05:46 +00:00
shader: Read branch conditions from an instruction
Fixes the identity removal pass.
This commit is contained in:
parent
43bca14217
commit
5c6dc51c69
12 changed files with 36 additions and 16 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue