Skip to content

Commit 74f3a2f

Browse files
authored
[vulkan] allocate descriptors for acceleration structures (#6861)
1 parent 826db5e commit 74f3a2f

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,10 @@ By @ErichDonGubler in [#6456](https://github.com/gfx-rs/wgpu/pull/6456), [#6148]
202202
- Fix crash when a texture argument is missing. By @aedm in [#6486](https://github.com/gfx-rs/wgpu/pull/6486)
203203
- 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).
204204

205+
#### Vulkan
206+
207+
- Allocate descriptors for acceleration structures. By @Vecvec in [#6861](https://github.com/gfx-rs/wgpu/pull/6861).
208+
205209
#### D3D12
206210

207211
- Fix no longer showing software rasterizer adapters. By @wumpf in [#6843](https://github.com/gfx-rs/wgpu/pull/6843).

wgpu-hal/src/vulkan/device.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,10 @@ impl
417417
vk::DescriptorType::STORAGE_BUFFER_DYNAMIC,
418418
descriptor_count.storage_buffer_dynamic,
419419
),
420+
(
421+
vk::DescriptorType::ACCELERATION_STRUCTURE_KHR,
422+
descriptor_count.acceleration_structure,
423+
),
420424
];
421425

422426
let filtered_counts = unfiltered_counts

0 commit comments

Comments
 (0)