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

Function Hash32

layers/utils/hash_util.cpp:42–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42uint32_t Hash32(const void* info, const size_t info_size) {
43 // Documentation shows XXH32 is a legacy function and XXH3_64bits is much faster
44 return static_cast<uint32_t>(XXH3_64bits(info, info_size));
45}
46
47uint64_t Hash64(const void* info, const size_t info_size) { return XXH3_64bits(info, info_size); }
48

Callers 4

AdjustValidatorOptionsFunction · 0.85
RunSpirvValidationMethod · 0.85
InstrumentMethod · 0.85
InstrumentMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected