Skip to content

Commit f964c96

Browse files
authored
Fixed issue with incorrectly updated descriptors (#14)
This fixed at least one noticeable problem with app crashing after resizing window when path-tracing renderer is enabled.
1 parent 086b7a9 commit f964c96

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/lucid.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ Ex<int> exMain(int argc, char **argv) {
9191
dev_setup.features->shaderInt64 = VK_TRUE;
9292
dev_setup.features->samplerAnisotropy = VK_TRUE;
9393
dev_setup.features->fillModeNonSolid = VK_TRUE;
94+
dev_setup.allow_descriptor_update_after_bind = true;
9495
auto pref_device = instance->preferredDevice(window->surfaceHandle(), &dev_setup.queues);
9596
if(!pref_device)
9697
return ERROR("Couldn't find a suitable Vulkan device");

0 commit comments

Comments
 (0)