Skip to content

Commit

Permalink
add assert to make sure all shaders were compiled
Browse files Browse the repository at this point in the history
  • Loading branch information
RSDuck committed May 14, 2024
1 parent 5df83c9 commit 4426617
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/GPU3D_Compute.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,7 @@ struct Variant

void ComputeRenderer::RenderFrame(GPU& gpu)
{
assert(!NeedsShaderCompile());
if (!Texcache.Update(gpu) && gpu.GPU3D.RenderFrameIdentical)
{
return;
Expand Down

0 comments on commit 4426617

Please sign in to comment.