mirror of
https://github.com/ZDoom/ZDRay.git
synced 2024-12-01 08:01:06 +00:00
Fix descriptor pool allocation error on AMD cards
This commit is contained in:
parent
c142f11248
commit
08be3607ce
1 changed files with 1 additions and 1 deletions
|
@ -814,7 +814,7 @@ void GPURaytracer::CreateRaytracePipeline()
|
||||||
|
|
||||||
raytrace.descriptorPool0 = DescriptorPoolBuilder()
|
raytrace.descriptorPool0 = DescriptorPoolBuilder()
|
||||||
.AddPoolSize(VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, 1)
|
.AddPoolSize(VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, 1)
|
||||||
.AddPoolSize(VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, 3)
|
.AddPoolSize(VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, 4)
|
||||||
.MaxSets(1)
|
.MaxSets(1)
|
||||||
.DebugName("raytrace.descriptorPool0")
|
.DebugName("raytrace.descriptorPool0")
|
||||||
.Create(device.get());
|
.Create(device.get());
|
||||||
|
|
Loading…
Reference in a new issue