unneeded now (and this somehow caused vxgi to double-light up the voxels from constantly re-recording)
This commit is contained in:
parent
f132f5d6d2
commit
07f2a7d17b
@ -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,
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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();
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user