| 43 | }; |
| 44 | |
| 45 | TEST_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 | |
| 61 | TEST_F(NegativeDeviceAddressCommandsSync, MemoryBarrierDstExclusive) { |
| 62 | RETURN_IF_SKIP(InitSyncDeviceAddressCommands()); |
nothing calls this directly
no test coverage detected