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

Method Contains

layers/utils/shader_utils.h:80–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78 void Merge(ValidationCache const *other);
79
80 bool Contains(uint32_t hash) {
81 auto guard = ReadLock();
82 return good_shader_hashes_.count(hash) != 0;
83 }
84
85 void Insert(uint32_t hash) {
86 auto guard = WriteLock();

Callers 1

MakeMemoryBarriersMethod · 0.45

Calls 2

ReadLockClass · 0.85
countMethod · 0.45

Tested by

no test coverage detected