mirror of
https://github.com/ZDoom/ZDRay.git
synced 2024-11-25 05:11:20 +00:00
Fix another descriptor pool out of memory error
This commit is contained in:
parent
920935bd5f
commit
38cdc880d1
1 changed files with 1 additions and 1 deletions
|
@ -785,7 +785,7 @@ void VkLightmap::CreateRaytracePipeline()
|
||||||
{
|
{
|
||||||
raytrace.descriptorPool1 = DescriptorPoolBuilder()
|
raytrace.descriptorPool1 = DescriptorPoolBuilder()
|
||||||
.AddPoolSize(VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHR, 1)
|
.AddPoolSize(VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHR, 1)
|
||||||
.AddPoolSize(VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, 1)
|
.AddPoolSize(VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, 2)
|
||||||
.MaxSets(1)
|
.MaxSets(1)
|
||||||
.DebugName("raytrace.descriptorPool1")
|
.DebugName("raytrace.descriptorPool1")
|
||||||
.Create(fb->GetDevice());
|
.Create(fb->GetDevice());
|
||||||
|
|
Loading…
Reference in a new issue