-
Notifications
You must be signed in to change notification settings - Fork 415
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validate required dedicated allocations #9087
base: main
Are you sure you want to change the base?
Conversation
CI Vulkan-ValidationLayers build queued with queue ID 330478. |
CI Vulkan-ValidationLayers build # 18423 running. |
7a4a79e
to
37b5c7f
Compare
CI Vulkan-ValidationLayers build queued with queue ID 330494. |
CI Vulkan-ValidationLayers build # 18424 running. |
CI Vulkan-ValidationLayers build # 18424 failed. |
37b5c7f
to
f356521
Compare
CI Vulkan-ValidationLayers build queued with queue ID 330530. |
CI Vulkan-ValidationLayers build # 18425 running. |
CI Vulkan-ValidationLayers build # 18425 failed. |
f356521
to
0eee15e
Compare
CI Vulkan-ValidationLayers build queued with queue ID 330576. |
CI Vulkan-ValidationLayers build # 18426 running. |
CI Vulkan-ValidationLayers build # 18426 failed. |
} else if (memory_dedicated_allocate_info->image != bind_info.image) { | ||
const LogObjectList objlist(bind_info.image, bind_info.memory); | ||
skip |= LogError( | ||
vuid, objlist, loc.pNext(Struct::VkMemoryDedicatedAllocateInfo, Field::pNext).dot(Field::image), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so the VkMemoryDedicatedAllocateInfo
is not part of the location of the caller, so just flip this, so something like
LogError(vuid, objlist, loc.dot(Feild::buffer), "is %s, but the memory was created with a VkMemoryDedicatedAllocateInfo::buffer of %s.",
FormatHandle(buffer).c_str(),
FormatHandle(memory_dedicated_allocate_info->buffer).c_str());
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry, mixed this up with the buffer one above, but comment applies to both
if (!memory_dedicated_allocate_info) { | ||
const LogObjectList objlist(bind_info.image, bind_info.memory); | ||
skip |= | ||
LogError(vuid, objlist, loc.dot(Field::pNext), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
loc.dot(Field::pNext)
is wrong, it is lot.dot(Field::memory), "%s was created without an VkMemoryDedicatedAllocateInfo pNext chain"
0eee15e
to
5a550f9
Compare
CI Vulkan-ValidationLayers build queued with queue ID 331529. |
CI Vulkan-ValidationLayers build # 18428 running. |
CI Vulkan-ValidationLayers build # 18428 failed. |
5a550f9
to
ecb8e1e
Compare
CI Vulkan-ValidationLayers build queued with queue ID 331583. |
CI Vulkan-ValidationLayers build # 18429 running. |
CI Vulkan-ValidationLayers build # 18429 failed. |
ecb8e1e
to
6e77733
Compare
CI Vulkan-ValidationLayers build queued with queue ID 331604. |
CI Vulkan-ValidationLayers build # 18430 running. |
CI Vulkan-ValidationLayers build # 18430 failed. |
6e77733
to
2ede2aa
Compare
CI Vulkan-ValidationLayers build queued with queue ID 331657. |
CI Vulkan-ValidationLayers build # 18432 running. |
CI Vulkan-ValidationLayers build # 18432 failed. |
2ede2aa
to
5f1c37a
Compare
CI Vulkan-ValidationLayers build queued with queue ID 332646. |
CI Vulkan-ValidationLayers build # 18449 running. |
CI Vulkan-ValidationLayers build # 18449 failed. |
Closes #9083