summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-07-29 19:27:01 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2021-11-16 22:11:28 +0100
commitf086c82e1f80cae088bb22de9092598dc51979da (patch)
tree8e055b4397c2dc9288a8fed65daf171488ecadc9 /src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp
parenttexture_cache: Fix blacklists on compute (diff)
downloadyuzu-f086c82e1f80cae088bb22de9092598dc51979da.tar
yuzu-f086c82e1f80cae088bb22de9092598dc51979da.tar.gz
yuzu-f086c82e1f80cae088bb22de9092598dc51979da.tar.bz2
yuzu-f086c82e1f80cae088bb22de9092598dc51979da.tar.lz
yuzu-f086c82e1f80cae088bb22de9092598dc51979da.tar.xz
yuzu-f086c82e1f80cae088bb22de9092598dc51979da.tar.zst
yuzu-f086c82e1f80cae088bb22de9092598dc51979da.zip
Diffstat (limited to 'src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp')
-rw-r--r--src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp
index 807494063..77ee6dc0e 100644
--- a/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp
+++ b/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp
@@ -211,8 +211,7 @@ void EmitYDirection(EmitContext& ctx, IR::Inst& inst) {
}
void EmitResolutionDownFactor(EmitContext& ctx, IR::Inst& inst) {
- UNIMPLEMENTED();
- ctx.Add("MOV.F {}.x,1;", inst);
+ ctx.Add("MOV.F {}.x,program.env[0].x;", inst);
}
void EmitUndefU1(EmitContext& ctx, IR::Inst& inst) {