Returns a parsed operand for a non-number value at the given word offset within an instruction.
| 159 | // Returns a parsed operand for a non-number value at the given word offset |
| 160 | // within an instruction. |
| 161 | spv_parsed_operand_t MakeSimpleOperand(uint16_t offset, |
| 162 | spv_operand_type_t type) { |
| 163 | return {offset, 1, type, SPV_NUMBER_NONE, 0}; |
| 164 | } |
| 165 | |
| 166 | // Returns a parsed operand for a literal unsigned integer value at the given |
| 167 | // word offset within an instruction. |
no outgoing calls
no test coverage detected