MCPcopy Create free account
hub / github.com/KhronosGroup/SPIRV-Tools / GetTrivialNameMapper

Function GetTrivialNameMapper

source/name_mapper.cpp:36–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34namespace spvtools {
35
36NameMapper GetTrivialNameMapper() {
37 return [](uint32_t i) { return spvtools::to_string(i); };
38}
39
40FriendlyNameMapper::FriendlyNameMapper(const spv_const_context context,
41 const uint32_t* code,

Callers 5

spvBinaryToTextFunction · 0.85
OutputMethod · 0.85
ValidationState_tMethod · 0.85
TESTFunction · 0.85

Calls 1

to_stringFunction · 0.70

Tested by 1

TESTFunction · 0.68