diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-09-24 02:28:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-24 02:28:43 +0200 |
commit | d794ced30328cf347f2dbacb9444bbe0a3b22a32 (patch) | |
tree | ab67b6d87f8c02f2d070a3bfb518c369e038d740 /src/shader_recompiler | |
parent | Merge pull request #8948 from german77/order (diff) | |
parent | chore: fix some typos (diff) | |
download | yuzu-d794ced30328cf347f2dbacb9444bbe0a3b22a32.tar yuzu-d794ced30328cf347f2dbacb9444bbe0a3b22a32.tar.gz yuzu-d794ced30328cf347f2dbacb9444bbe0a3b22a32.tar.bz2 yuzu-d794ced30328cf347f2dbacb9444bbe0a3b22a32.tar.lz yuzu-d794ced30328cf347f2dbacb9444bbe0a3b22a32.tar.xz yuzu-d794ced30328cf347f2dbacb9444bbe0a3b22a32.tar.zst yuzu-d794ced30328cf347f2dbacb9444bbe0a3b22a32.zip |
Diffstat (limited to 'src/shader_recompiler')
-rw-r--r-- | src/shader_recompiler/backend/glasm/emit_glasm.cpp | 2 | ||||
-rw-r--r-- | src/shader_recompiler/backend/glsl/emit_glsl.cpp | 2 |
2 files changed, 2 insertions, 2 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) { } void PrecolorInst(IR::Inst& phi) { - // Insert phi moves before references to avoid overwritting other phis + // Insert phi moves before references to avoid overwriting other phis const size_t num_args{phi.NumArgs()}; for (size_t i = 0; i < num_args; ++i) { IR::Block& phi_block{*phi.PhiBlock(i)}; diff --git a/src/shader_recompiler/backend/glsl/emit_glsl.cpp b/src/shader_recompiler/backend/glsl/emit_glsl.cpp index 76c18e488..e8a4390f6 100644 --- a/src/shader_recompiler/backend/glsl/emit_glsl.cpp +++ b/src/shader_recompiler/backend/glsl/emit_glsl.cpp @@ -101,7 +101,7 @@ bool IsReference(IR::Inst& inst) { } void PrecolorInst(IR::Inst& phi) { - // Insert phi moves before references to avoid overwritting other phis + // Insert phi moves before references to avoid overwriting other phis const size_t num_args{phi.NumArgs()}; for (size_t i = 0; i < num_args; ++i) { IR::Block& phi_block{*phi.PhiBlock(i)}; |