| 106 | } |
| 107 | |
| 108 | std::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 | |
| 114 | std::string ToString(spv_target_env env, const std::vector<uint32_t>& binary) { |
| 115 | SpirvTools t(env); |
no test coverage detected