diff options
author | Andrea Pappacoda <andrea@pappacoda.it> | 2022-09-23 13:38:23 +0200 |
---|---|---|
committer | Andrea Pappacoda <andrea@pappacoda.it> | 2022-09-23 13:38:23 +0200 |
commit | 4a493cb10f123f5cf2911cfcb1c30b411b21d092 (patch) | |
tree | 3136bd180d0dbacd52c020eedea83c9a267c1dba /src/shader_recompiler | |
parent | Merge pull request #8849 from Morph1984/parallel-astc (diff) | |
download | yuzu-4a493cb10f123f5cf2911cfcb1c30b411b21d092.tar yuzu-4a493cb10f123f5cf2911cfcb1c30b411b21d092.tar.gz yuzu-4a493cb10f123f5cf2911cfcb1c30b411b21d092.tar.bz2 yuzu-4a493cb10f123f5cf2911cfcb1c30b411b21d092.tar.lz yuzu-4a493cb10f123f5cf2911cfcb1c30b411b21d092.tar.xz yuzu-4a493cb10f123f5cf2911cfcb1c30b411b21d092.tar.zst yuzu-4a493cb10f123f5cf2911cfcb1c30b411b21d092.zip |
Diffstat (limited to '')
-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)}; |