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

Method binaryEncodeU32

source/text_handler.cpp:265–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263}
264
265spv_result_t AssemblyContext::binaryEncodeU32(const uint32_t value,
266 spv_instruction_t* pInst) {
267 pInst->words.insert(pInst->words.end(), value);
268 return SPV_SUCCESS;
269}
270
271spv_result_t AssemblyContext::binaryEncodeNumericLiteral(
272 const char* val, spv_result_t error_code, const IdType& type,

Callers 4

encodeImmediateFunction · 0.80
spvTextEncodeOperandFunction · 0.80

Calls 2

insertMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected