| 1282 | |
| 1283 | |
| 1284 | uint32_t SpirvModule::opBitcast( |
| 1285 | uint32_t resultType, |
| 1286 | uint32_t operand) { |
| 1287 | uint32_t resultId = this->allocateId(); |
| 1288 | |
| 1289 | m_code.putIns (spv::OpBitcast, 4); |
| 1290 | m_code.putWord(resultType); |
| 1291 | m_code.putWord(resultId); |
| 1292 | m_code.putWord(operand); |
| 1293 | return resultId; |
| 1294 | } |
| 1295 | |
| 1296 | |
| 1297 | uint32_t SpirvModule::opBitCount( |
no test coverage detected