Correct size and pointer arguments for singular versions of a command

This commit is contained in:
asuessenbach
2020-10-22 13:27:02 +02:00
parent 62a9e28264
commit 1a7e754609
2 changed files with 23 additions and 14 deletions

View File

@@ -101874,8 +101874,8 @@ namespace VULKAN_HPP_NAMESPACE
T data;
Result result = static_cast<Result>( d.vkWriteAccelerationStructuresPropertiesKHR(
m_device,
1,
reinterpret_cast<const VkAccelerationStructureKHR *>( &accelerationStructure ),
accelerationStructures.size(),
reinterpret_cast<const VkAccelerationStructureKHR *>( accelerationStructures.data() ),
static_cast<VkQueryType>( queryType ),
sizeof( T ),
reinterpret_cast<void *>( &data ),