summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend/glasm/emit_glasm.cpp
diff options
context:
space:
mode:
authorGravatar Morph2022-09-23 20:28:43 -0400
committerGravatar GitHub2022-09-23 20:28:43 -0400
commitd794ced30328cf347f2dbacb9444bbe0a3b22a32 (patch)
treeab67b6d87f8c02f2d070a3bfb518c369e038d740 /src/shader_recompiler/backend/glasm/emit_glasm.cpp
parentMerge pull request #8948 from german77/order (diff)
parentchore: fix some typos (diff)
downloadyuzu-d794ced30328cf347f2dbacb9444bbe0a3b22a32.tar.gz
yuzu-d794ced30328cf347f2dbacb9444bbe0a3b22a32.tar.xz
yuzu-d794ced30328cf347f2dbacb9444bbe0a3b22a32.zip
Merge pull request #8945 from Tachi107/typos
chore: fix some typos
Diffstat (limited to 'src/shader_recompiler/backend/glasm/emit_glasm.cpp')
-rw-r--r--src/shader_recompiler/backend/glasm/emit_glasm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/glasm/emit_glasm.cpp b/src/shader_recompiler/backend/glasm/emit_glasm.cpp
index 97a6b383b..01f9abc71 100644
--- a/src/shader_recompiler/backend/glasm/emit_glasm.cpp
+++ b/src/shader_recompiler/backend/glasm/emit_glasm.cpp
@@ -175,7 +175,7 @@ bool IsReference(IR::Inst& inst) {
175} 175}
176 176
177void PrecolorInst(IR::Inst& phi) { 177void PrecolorInst(IR::Inst& phi) {
178 // Insert phi moves before references to avoid overwritting other phis 178 // Insert phi moves before references to avoid overwriting other phis
179 const size_t num_args{phi.NumArgs()}; 179 const size_t num_args{phi.NumArgs()};
180 for (size_t i = 0; i < num_args; ++i) { 180 for (size_t i = 0; i < num_args; ++i) {
181 IR::Block& phi_block{*phi.PhiBlock(i)}; 181 IR::Block& phi_block{*phi.PhiBlock(i)};