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

Function ToString

test/fuzz/fuzz_test_util.cpp:108–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108std::string ToString(spv_target_env env, const opt::IRContext* ir) {
109 std::vector<uint32_t> binary;
110 ir->module()->ToBinary(&binary, false);
111 return ToString(env, binary);
112}
113
114std::string ToString(spv_target_env env, const std::vector<uint32_t>& binary) {
115 SpirvTools t(env);

Callers 1

TESTFunction · 0.50

Calls 3

ToBinaryMethod · 0.45
moduleMethod · 0.45
DisassembleMethod · 0.45

Tested by

no test coverage detected