summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/vklayertests_buffer_image_memory_sampler.cpp4
-rw-r--r--tests/vklayertests_others.cpp1
2 files changed, 2 insertions, 3 deletions
diff --git a/tests/vklayertests_buffer_image_memory_sampler.cpp b/tests/vklayertests_buffer_image_memory_sampler.cpp
index 473541e..e0f3864 100644
--- a/tests/vklayertests_buffer_image_memory_sampler.cpp
+++ b/tests/vklayertests_buffer_image_memory_sampler.cpp
@@ -1853,7 +1853,7 @@ TEST_F(VkLayerTest, BindInvalidMemory2Disjoint) {
if ((image_offset > 0) && (image_mem_reqs.size < (image_alloc_info.allocationSize - image_mem_reqs.alignment))) {
bind_image_info.memoryOffset = image_offset;
const char *vuid =
- (mp_extensions) ? "VUID-VkBindImageMemoryInfo-pNext-01617" : "VUID-VkBindImageMemoryInfo-memoryOffset-01614";
+ (mp_extensions) ? "VUID-VkBindImageMemoryInfo-pNext-01617" : "VUID-VkBindImageMemoryInfo-memory-01614";
m_errorMonitor->SetDesiredFailureMsg(kErrorBit, vuid);
vkBindImageMemory2Function(device(), 1, &bind_image_info);
m_errorMonitor->VerifyFound();
@@ -1933,7 +1933,7 @@ TEST_F(VkLayerTest, BindInvalidMemory2Disjoint) {
ASSERT_VK_SUCCESS(vk::AllocateMemory(device(), &image_alloc_info, NULL, &image_mem));
bind_image_info.memory = image_mem;
const char *vuid =
- (mp_extensions) ? "VUID-VkBindImageMemoryInfo-pNext-01615" : "VUID-VkBindImageMemoryInfo-memoryOffset-01612";
+ (mp_extensions) ? "VUID-VkBindImageMemoryInfo-pNext-01615" : "VUID-VkBindImageMemoryInfo-memory-01612";
m_errorMonitor->SetDesiredFailureMsg(kErrorBit, vuid);
vkBindImageMemory2Function(device(), 1, &bind_image_info);
m_errorMonitor->VerifyFound();
diff --git a/tests/vklayertests_others.cpp b/tests/vklayertests_others.cpp
index f222a77..8ebf651 100644
--- a/tests/vklayertests_others.cpp
+++ b/tests/vklayertests_others.cpp
@@ -5478,7 +5478,6 @@ TEST_F(VkLayerTest, ValidateCreateAccelerationStructureKHR) {
bad_top_level_create_info.type = VK_ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_KHR;
bad_top_level_create_info.maxGeometryCount = 0;
bad_top_level_create_info.compactedSize = 0;
- m_errorMonitor->SetUnexpectedError("VUID-VkAccelerationStructureCreateInfoKHR-maxGeometryCount-arraylength");
m_errorMonitor->SetDesiredFailureMsg(VK_DEBUG_REPORT_ERROR_BIT_EXT, "VUID-VkAccelerationStructureCreateInfoKHR-type-03495");
vkCreateAccelerationStructureKHR(m_device->handle(), &bad_top_level_create_info, nullptr, &as);
m_errorMonitor->VerifyFound();