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/ir_opt/ssa_rewrite_pass.cpp | |
| 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/ir_opt/ssa_rewrite_pass.cpp')
| -rw-r--r-- | src/shader_recompiler/ir_opt/ssa_rewrite_pass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/ir_opt/ssa_rewrite_pass.cpp b/src/shader_recompiler/ir_opt/ssa_rewrite_pass.cpp index d09bcec36..bab7ca186 100644 --- a/src/shader_recompiler/ir_opt/ssa_rewrite_pass.cpp +++ b/src/shader_recompiler/ir_opt/ssa_rewrite_pass.cpp | |||
| @@ -169,7 +169,7 @@ private: | |||
| 169 | const size_t num_args{phi.NumArgs()}; | 169 | const size_t num_args{phi.NumArgs()}; |
| 170 | for (size_t arg_index = 0; arg_index < num_args; ++arg_index) { | 170 | for (size_t arg_index = 0; arg_index < num_args; ++arg_index) { |
| 171 | const IR::Value& op{phi.Arg(arg_index)}; | 171 | const IR::Value& op{phi.Arg(arg_index)}; |
| 172 | if (op == same || op == IR::Value{&phi}) { | 172 | if (op.Resolve() == same.Resolve() || op == IR::Value{&phi}) { |
| 173 | // Unique value or self-reference | 173 | // Unique value or self-reference |
| 174 | continue; | 174 | continue; |
| 175 | } | 175 | } |