shader: Fix conditional execution of exit instructions

This commit is contained in:
ReinUsesLisp
2021-02-24 18:32:00 -03:00
committed by ameerj
parent 7496bbf758
commit 622d676202
2 changed files with 6 additions and 5 deletions

View File

@ -128,7 +128,7 @@ private:
AnalysisState AnalyzeInst(Block* block, FunctionId function_id, Location pc);
void AnalyzeCondInst(Block* block, FunctionId function_id, Location pc, EndClass insn_end_class,
IR::Condition cond);
IR::Condition cond, bool visit_conditional_inst);
/// Return true when the branch instruction is confirmed to be a branch
bool AnalyzeBranch(Block* block, FunctionId function_id, Location pc, Instruction inst,