diff options
| author | 2021-05-27 17:54:08 -0300 | |
|---|---|---|
| committer | 2021-07-22 21:51:34 -0400 | |
| commit | b6c087496b14f1f5b253c3ecb82c00ded743418a (patch) | |
| tree | a3cf650a09f955b083d84701083fbd3298feb12b /src/shader_recompiler/backend/glasm/emit_glasm.cpp | |
| parent | texture_cache: Reduce invalid image/sampler error severity (diff) | |
| download | yuzu-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.cpp | 2 |
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 | ||