summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend/glasm/emit_glasm.cpp
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2021-05-27 17:54:08 -0300
committerGravatar ameerj2021-07-22 21:51:34 -0400
commitb6c087496b14f1f5b253c3ecb82c00ded743418a (patch)
treea3cf650a09f955b083d84701083fbd3298feb12b /src/shader_recompiler/backend/glasm/emit_glasm.cpp
parenttexture_cache: Reduce invalid image/sampler error severity (diff)
downloadyuzu-b6c087496b14f1f5b253c3ecb82c00ded743418a.tar.gz
yuzu-b6c087496b14f1f5b253c3ecb82c00ded743418a.tar.xz
yuzu-b6c087496b14f1f5b253c3ecb82c00ded743418a.zip
glasm: Reduce reg allocation leaks from an exception to a log
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 2a0524609..e23208d2c 100644
--- a/src/shader_recompiler/backend/glasm/emit_glasm.cpp
+++ b/src/shader_recompiler/backend/glasm/emit_glasm.cpp
@@ -253,7 +253,7 @@ void EmitCode(EmitContext& ctx, const IR::Program& program) {
253 } 253 }
254 } 254 }
255 if (!ctx.reg_alloc.IsEmpty()) { 255 if (!ctx.reg_alloc.IsEmpty()) {
256 throw LogicError("Register allocator is not empty"); 256 // LOG_WARNING ...;
257 } 257 }
258} 258}
259 259