[vulkan] allocate descriptors for acceleration structures (#6861)

This commit is contained in:
Vecvec authored and GitHub committed 2025-01-06 15:37:13 -05:00
1 parent 826db5e6b6
commit 74f3a2f919
2 files changed
+8

No files matched your search

+4
View File
@@ -202,6 +202,10 @@ By @ErichDonGubler in [#6456](https://github.com/gfx-rs/wgpu/pull/6456), [#6148]
- Fix crash when a texture argument is missing. By @aedm in [#6486](https://github.com/gfx-rs/wgpu/pull/6486)
- Emit an error in constant evaluation, rather than crash, in certain cases where `vecN` constructors have less than N arguments. By @ErichDonGubler in [#6508](https://github.com/gfx-rs/wgpu/pull/6508).
#### Vulkan
- Allocate descriptors for acceleration structures. By @Vecvec in [#6861](https://github.com/gfx-rs/wgpu/pull/6861).
#### D3D12
- Fix no longer showing software rasterizer adapters. By @wumpf in [#6843](https://github.com/gfx-rs/wgpu/pull/6843).
+4
View File
@@ -417,6 +417,10 @@ impl
vk::DescriptorType::STORAGE_BUFFER_DYNAMIC,
descriptor_count.storage_buffer_dynamic,
),
(
vk::DescriptorType::ACCELERATION_STRUCTURE_KHR,
descriptor_count.acceleration_structure,
),
];
let filtered_counts = unfiltered_counts