MCPcopy Create free account
hub / github.com/csyonghe/Spire / SpirVUIntToString

Function SpirVUIntToString

Source/SpireCore/SpirVCodeGen.cpp:414–421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412 };
413
414 String SpirVUIntToString(unsigned int i)
415 {
416 String s;
417 if (i >> 31)
418 s = s + "1";
419 s = s + int(i & 0x7fffffff);
420 return s;
421 }
422
423 RefPtr<ILType> GetTypeFromString(String s)
424 {

Callers 1

OpConstantUIntMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected