-
Notifications
You must be signed in to change notification settings - Fork 0
The Vulkan spec states: size must be greater than 0 #1
Description
调试控制台显示Reading dataset 'datasets/dambreak/ParticleData_Fluid_X.bgeo',但项目中并不存在这个文件。
以下是完整报错:
Validation Error: [ VUID-VkBufferCreateInfo-size-00912 ] | MessageID = 0x7c54445e
vkCreateBuffer(): pCreateInfo->size is zero.
The Vulkan spec states: size must be greater than 0 (https://vulkan.lunarg.com/doc/view/1.4.313.0/windows/antora/spec/latestchapters/resources.html#VUID-VkBufferCreateInfo-size-00912)
Validation Error: [ VUID-VkMemoryAllocateInfo-allocationSize-07897 ] | MessageID = 0xa967ba00
vkAllocateMemory(): pAllocateInfo->allocationSize is 0.
The Vulkan spec states: If the parameters do not define an import or export operation, allocationSize must be greater than 0 (https://vulkan.lunarg.com/doc/view/1.4.313.0/windows/antora/spec/latestchapters/memory.html#VUID-VkMemoryAllocateInfo-allocationSize-07897)
Validation Error: [ VUID-VkMemoryAllocateInfo-allocationSize-07899 ] | MessageID = 0x5e299387
vkAllocateMemory(): pAllocateInfo->allocationSize is 0.
The Vulkan spec states: If the parameters define an export operation and the handle type is not VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID , allocationSize must be greater than 0 (https://vulkan.lunarg.com/doc/view/1.4.313.0/windows/antora/spec/latestchapters/memory.html#VUID-VkMemoryAllocateInfo-allocationSize-07899)
是否存在数据集缺失问题?