Returns a parsed operand for a literal unsigned integer value at the given word offset within an instruction.
| 166 | // Returns a parsed operand for a literal unsigned integer value at the given |
| 167 | // word offset within an instruction. |
| 168 | spv_parsed_operand_t MakeLiteralNumberOperand(uint16_t offset) { |
| 169 | return {offset, 1, SPV_OPERAND_TYPE_LITERAL_INTEGER, SPV_NUMBER_UNSIGNED_INT, |
| 170 | 32}; |
| 171 | } |
| 172 | |
| 173 | // Returns a parsed operand for a literal string value at the given |
| 174 | // word offset within an instruction. |
no outgoing calls
no test coverage detected