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

Method MapIds

source/diff/diff.cpp:146–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144 : src_to_dst_(src_id_bound), dst_to_src_(dst_id_bound) {}
145
146 void MapIds(uint32_t src, uint32_t dst) {
147 src_to_dst_.MapIds(src, dst);
148 dst_to_src_.MapIds(dst, src);
149 }
150
151 uint32_t MappedDstId(uint32_t src) {
152 uint32_t dst = src_to_dst_.MappedId(src);

Callers

nothing calls this directly

Calls 1

MapIdsMethod · 0.45

Tested by

no test coverage detected