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, "gui": true,
"vsync": true, // vsync on vulkan side rather than engine-side "vsync": true, // vsync on vulkan side rather than engine-side
"hdr": true, "hdr": true,
"vxgi": false, // to-do: fix issues "vxgi": true, // to-do: fix issues
"culling": false, "culling": false,
"bloom": true, "bloom": true,
"dof": false, "dof": false,

View File

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

View File

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