surfelGI gpu hang fix #623

This commit is contained in:
Turánszki János
2024-09-21 08:04:11 +02:00
parent 098d7f6159
commit 68dc94937d
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -11247,6 +11247,8 @@ void SurfelGI(
{
if (!scene.TLAS.IsValid() && !scene.BVH.IsValid())
return;
if (scene.objects.GetCount() == 0)
return;
wi::jobsystem::Wait(raytracing_ctx);
+1 -1
View File
@@ -9,7 +9,7 @@ namespace wi::version
// minor features, major updates, breaking compatibility changes
const int minor = 71;
// minor bug fixes, alterations, refactors, updates
const int revision = 572;
const int revision = 573;
const std::string version_string = std::to_string(major) + "." + std::to_string(minor) + "." + std::to_string(revision);