You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WARNING: [Vulkan: location=0xe9aa8ae3 code=0, layerPrefix='Validation'] Validation Error: [ VUID-vkCmdUpdateBuffer-dataSize-00038 ] Object 0: handle = 0x275ca6f9400, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0xe9aa8ae3 | vkCmdUpdateBuffer() parameter, VkDeviceSize dataSize (0x6), is not a multiple of 4. The Vulkan spec states: dataSize must be a multiple of 4 (https://vulkan.lunarg.com/doc/view/1.3.243.0/windows/1.3-extensions/vkspec.html#VUID-vkCmdUpdateBuffer-dataSize-00038)
The text was updated successfully, but these errors were encountered:
nvrhi/src/vulkan/vulkan-buffer.cpp
Line 112 in 01a90aa
nvrhi/src/vulkan/vulkan-buffer.cpp
Line 440 in 01a90aa
take
5 byte
as example ,5 + (5 % 4) = 6
, which is not multiple of 4.An easily reproducible code is as follows:
vulkan validation layer catchs the error:
The text was updated successfully, but these errors were encountered: