summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/backend/glsl/emit_glsl_not_implemented.cpp
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-05-25 01:33:11 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:36 +0200
commite99d01ff5308bb239aa2007ba4363d3a77f4d202 (patch)
treed01d0c54c42b15a140fa51f409d187ebe44016eb /src/shader_recompiler/backend/glsl/emit_glsl_not_implemented.cpp
parentglsl: Wip storage atomic ops (diff)
downloadyuzu-e99d01ff5308bb239aa2007ba4363d3a77f4d202.tar
yuzu-e99d01ff5308bb239aa2007ba4363d3a77f4d202.tar.gz
yuzu-e99d01ff5308bb239aa2007ba4363d3a77f4d202.tar.bz2
yuzu-e99d01ff5308bb239aa2007ba4363d3a77f4d202.tar.lz
yuzu-e99d01ff5308bb239aa2007ba4363d3a77f4d202.tar.xz
yuzu-e99d01ff5308bb239aa2007ba4363d3a77f4d202.tar.zst
yuzu-e99d01ff5308bb239aa2007ba4363d3a77f4d202.zip
Diffstat (limited to 'src/shader_recompiler/backend/glsl/emit_glsl_not_implemented.cpp')
-rw-r--r--src/shader_recompiler/backend/glsl/emit_glsl_not_implemented.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_not_implemented.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_not_implemented.cpp
index 65eccaece..d67a1d81f 100644
--- a/src/shader_recompiler/backend/glsl/emit_glsl_not_implemented.cpp
+++ b/src/shader_recompiler/backend/glsl/emit_glsl_not_implemented.cpp
@@ -28,11 +28,14 @@ void EmitVoid(EmitContext& ctx) {
}
void EmitReference(EmitContext&) {
- NotImplemented();
+ // NotImplemented();
}
void EmitPhiMove(EmitContext& ctx, const IR::Value& phi, const IR::Value& value) {
- NotImplemented();
+ if (phi == value) {
+ return;
+ }
+ ctx.Add("{}={};", ctx.reg_alloc.Consume(phi), ctx.reg_alloc.Consume(value));
}
void EmitBranch(EmitContext& ctx, std::string_view label) {