unneeded now (and this somehow caused vxgi to double-light up the voxels from constantly re-recording)

This commit is contained in:
ecker 2026-05-15 14:30:50 -05:00
parent f132f5d6d2
commit 07f2a7d17b
3 changed files with 4 additions and 3 deletions

View File

@ -119,7 +119,7 @@
"gui": true,
"vsync": true, // vsync on vulkan side rather than engine-side
"hdr": true,
"vxgi": false, // to-do: fix issues
"vxgi": true, // to-do: fix issues
"culling": false,
"bloom": true,
"dof": false,

View File

@ -984,6 +984,7 @@ void ext::vulkan::DescriptorSets::update( const Graphic& graphic, const GraphicD
}
}
// really needs some love
/*
if ( this->metadata.built ) {
renderMode.synchronize();
bool locked = renderMode.tryMutex();
@ -991,7 +992,7 @@ void ext::vulkan::DescriptorSets::update( const Graphic& graphic, const GraphicD
// uf::renderer::flushCommandBuffers();
vkUpdateDescriptorSets( *device, writeDescriptorSets.size(), writeDescriptorSets.data(), 0, NULL );
if ( locked ) renderMode.unlockMutex();
} else {
} else */ {
vkUpdateDescriptorSets( *device, writeDescriptorSets.size(), writeDescriptorSets.data(), 0, NULL );
}
this->metadata.built = true;

View File

@ -428,7 +428,7 @@ void ext::vulkan::RenderMode::build( bool resized ) {
}
void ext::vulkan::RenderMode::tick() {
if ( ext::vulkan::states::resized || uf::renderer::states::rebuild || rebuild ) {
if ( device ) vkDeviceWaitIdle(*device);
//if ( device ) vkDeviceWaitIdle(*device);
cleanupAllCommands();
}