From 442661747e0898ebd2425dda6d5ba970fce22d52 Mon Sep 17 00:00:00 2001 From: RSDuck Date: Tue, 14 May 2024 04:09:20 +0200 Subject: [PATCH] add assert to make sure all shaders were compiled --- src/GPU3D_Compute.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/GPU3D_Compute.cpp b/src/GPU3D_Compute.cpp index 672735bd..da255950 100644 --- a/src/GPU3D_Compute.cpp +++ b/src/GPU3D_Compute.cpp @@ -591,6 +591,7 @@ struct Variant void ComputeRenderer::RenderFrame(GPU& gpu) { + assert(!NeedsShaderCompile()); if (!Texcache.Update(gpu) && gpu.GPU3D.RenderFrameIdentical) { return;