| 3012 | |
| 3013 | |
| 3014 | uint32_t SpirvModule::opFunctionCall( |
| 3015 | uint32_t resultType, |
| 3016 | uint32_t functionId, |
| 3017 | uint32_t argCount, |
| 3018 | const uint32_t* argIds) { |
| 3019 | uint32_t resultId = this->allocateId(); |
| 3020 | |
| 3021 | m_code.putIns (spv::OpFunctionCall, 4 + argCount); |
| 3022 | m_code.putWord(resultType); |
| 3023 | m_code.putWord(resultId); |
| 3024 | m_code.putWord(functionId); |
| 3025 | |
| 3026 | for (uint32_t i = 0; i < argCount; i++) |
| 3027 | m_code.putWord(argIds[i]); |
| 3028 | return resultId; |
| 3029 | } |
| 3030 | |
| 3031 | |
| 3032 | void SpirvModule::opLabel(uint32_t labelId) { |
no test coverage detected