summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qmetaobject.cpp
diff options
context:
space:
mode:
authorAurélien Brooke <aurelien@bahiasoft.fr>2025-04-09 13:43:04 +0200
committerAurélien Brooke <aurelien@bahiasoft.fr>2025-04-10 15:10:00 +0200
commita8ae971a9517c8d5f11464a5f932cc3a90b675a8 (patch)
tree9c1fffc382fe1aba3dc69e81e0b6ffffb1ef7a0b /src/corelib/kernel/qmetaobject.cpp
parenta95c568908491286ffd0050f913c29dcbd408013 (diff)
rhi: vulkan: be nicer when binding empty buffers
vkUpdateDescriptorSets(): pDescriptorWrites[1].pBufferInfo[0].range is not VK_WHOLE_SIZE and is zero. The Vulkan spec states: If range is not equal to VK_WHOLE_SIZE, range must be greater than 0 (https://docs.vulkan.org/spec/latest/chapters/ descriptorsets.html#VUID-VkDescriptorBufferInfo-range-00341) As a drive-by, fix the wrong union member access. Change-Id: I511cddd25f91a117ff181fd64b77079e6946c94c Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/corelib/kernel/qmetaobject.cpp')
0 files changed, 0 insertions, 0 deletions