MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / TEST_F

Function TEST_F

tests/unit/device_address_commands_sync.cpp:45–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43};
44
45TEST_F(NegativeDeviceAddressCommandsSync, MemoryBarrierSrcExclusive) {
46 RETURN_IF_SKIP(InitSyncDeviceAddressCommands());
47
48 const uint32_t queue_family_count = static_cast<uint32_t>(m_device->Physical().queue_properties_.size());
49
50 m_command_buffer.Begin();
51
52 memory_range_barrier_.srcQueueFamilyIndex = queue_family_count;
53
54 m_errorMonitor->SetDesiredError("VUID-VkMemoryRangeBarrierKHR-address-13087");
55 vk::CmdPipelineBarrier2(m_command_buffer, &dependency_info_);
56 m_errorMonitor->VerifyFound();
57
58 m_command_buffer.End();
59}
60
61TEST_F(NegativeDeviceAddressCommandsSync, MemoryBarrierDstExclusive) {
62 RETURN_IF_SKIP(InitSyncDeviceAddressCommands());

Callers

nothing calls this directly

Calls 9

CmdPipelineBarrier2Function · 0.85
CmdPipelineBarrier2KHRFunction · 0.85
SetDesiredErrorMethod · 0.80
AddressRangeMethod · 0.80
BufferClass · 0.50
sizeMethod · 0.45
BeginMethod · 0.45
VerifyFoundMethod · 0.45
EndMethod · 0.45

Tested by

no test coverage detected