Skip to content

Commit 6fbbb9e

Browse files
committed
gpuav: Improve GetASByAddress
Remove needless reserve
1 parent 6e29dbc commit 6fbbb9e

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

layers/state_tracker/state_tracker.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6560,7 +6560,6 @@ small_vector<const vvl::AccelerationStructureKHR*, 2> DeviceState::GetAccelerati
65606560
if (address == 0) {
65616561
return as_vector;
65626562
}
6563-
as_vector.reserve(static_cast<uint32_t>(as_with_addresses.array.size()));
65646563

65656564
ReadLockGuard lock(as_with_addresses.array_mutex);
65666565
auto as_found_it =

0 commit comments

Comments
 (0)