diff options
| author | 2021-03-19 19:28:31 -0300 | |
|---|---|---|
| committer | 2021-07-22 21:51:23 -0400 | |
| commit | 260743f371236f7c57b01334b1c3474b15a47c39 (patch) | |
| tree | 312d89fa8215199ef5f7ec1fc84b025df526e107 /src/shader_recompiler/frontend/maxwell/control_flow.h | |
| parent | shader: Implement DADD (diff) | |
| download | yuzu-260743f371236f7c57b01334b1c3474b15a47c39.tar.gz yuzu-260743f371236f7c57b01334b1c3474b15a47c39.tar.xz yuzu-260743f371236f7c57b01334b1c3474b15a47c39.zip | |
shader: Add partial rasterizer integration
Diffstat (limited to 'src/shader_recompiler/frontend/maxwell/control_flow.h')
| -rw-r--r-- | src/shader_recompiler/frontend/maxwell/control_flow.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/control_flow.h b/src/shader_recompiler/frontend/maxwell/control_flow.h index fe74f210f..22f134194 100644 --- a/src/shader_recompiler/frontend/maxwell/control_flow.h +++ b/src/shader_recompiler/frontend/maxwell/control_flow.h | |||
| @@ -29,6 +29,7 @@ enum class EndClass { | |||
| 29 | Call, | 29 | Call, |
| 30 | Exit, | 30 | Exit, |
| 31 | Return, | 31 | Return, |
| 32 | Kill, | ||
| 32 | }; | 33 | }; |
| 33 | 34 | ||
| 34 | enum class Token { | 35 | enum class Token { |
| @@ -130,7 +131,7 @@ private: | |||
| 130 | AnalysisState AnalyzeInst(Block* block, FunctionId function_id, Location pc); | 131 | AnalysisState AnalyzeInst(Block* block, FunctionId function_id, Location pc); |
| 131 | 132 | ||
| 132 | void AnalyzeCondInst(Block* block, FunctionId function_id, Location pc, EndClass insn_end_class, | 133 | void AnalyzeCondInst(Block* block, FunctionId function_id, Location pc, EndClass insn_end_class, |
| 133 | IR::Condition cond, bool visit_conditional_inst); | 134 | IR::Condition cond); |
| 134 | 135 | ||
| 135 | /// Return true when the branch instruction is confirmed to be a branch | 136 | /// Return true when the branch instruction is confirmed to be a branch |
| 136 | bool AnalyzeBranch(Block* block, FunctionId function_id, Location pc, Instruction inst, | 137 | bool AnalyzeBranch(Block* block, FunctionId function_id, Location pc, Instruction inst, |