Vulkan debug log: Remove some old exclusions, add a new one (for an old issue)

This commit is contained in:
Henrik Rydgård committed 2020-08-02 15:41:44 +02:00
1 parent 6aa3681f7c
commit dee0f3f9ec
2 files changed
+9 -8

No files matched your search

+3 -1
View File
@@ -143,7 +143,9 @@ void VulkanPushBuffer::Map() {
}
void VulkanPushBuffer::Unmap() {
_dbg_assert_(writePtr_ != 0);
_dbg_assert_msg_(writePtr_ != nullptr, "VulkanPushBuffer::Unmap: writePtr_ null here means we have a bug (map/unmap mismatch)");
if (!writePtr_)
return;
if ((memoryPropertyMask_ & VK_MEMORY_PROPERTY_HOST_COHERENT_BIT) == 0) {
VkMappedMemoryRange range{ VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE };