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

Function IsHazardVsRead

layers/sync/sync_reporting.cpp:59–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59static bool IsHazardVsRead(SyncHazard hazard) {
60 switch (hazard) {
61 case SyncHazard::WRITE_AFTER_READ:
62 case SyncHazard::WRITE_RACING_READ:
63 case SyncHazard::PRESENT_AFTER_READ:
64 return true;
65 default:
66 return false;
67 }
68}
69
70static auto SortKeyValues(const std::vector<ReportProperties::NameValue>& name_values) {
71 const std::vector<std::string> std_properties = {

Callers 1

GetAccessPropertiesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected