aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/gpu_thread.cpp
diff options
context:
space:
mode:
authorMai <mathew1800@gmail.com>2022-06-14 08:34:16 -0400
committerGitHub <noreply@github.com>2022-06-14 08:34:16 -0400
commita3b12e3809e388e9c9b0608b14d85c0985e412c3 (patch)
tree135226fe24596286c54bf9c5c4a12868c3c55e90 /src/video_core/gpu_thread.cpp
parentdc47d0f624afe76623158a60623d2b6866b36678 (diff)
parentbd38aefc573e5e554386217546bd3a0dd78cc449 (diff)
Merge pull request #8439 from liamwhite/monkey-compiler
general: fix compilation on GCC 12
Diffstat (limited to 'src/video_core/gpu_thread.cpp')
-rw-r--r--src/video_core/gpu_thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/gpu_thread.cpp b/src/video_core/gpu_thread.cpp
index 8479dc6d2..b0ce9f000 100644
--- a/src/video_core/gpu_thread.cpp
+++ b/src/video_core/gpu_thread.cpp
@@ -50,7 +50,7 @@ static void RunThread(std::stop_token stop_token, Core::System& system,
} else if (const auto* invalidate = std::get_if<InvalidateRegionCommand>(&next.data)) {
rasterizer->OnCPUWrite(invalidate->addr, invalidate->size);
} else {
- UNREACHABLE();
+ ASSERT(false);
}
state.signaled_fence.store(next.fence);
if (next.block) {