MCPcopy Create free account
hub / github.com/Inori/GPCS4 / opConvertUtoF

Method opConvertUtoF

GPCS4/Graphics/SpirV/SpirvModule.cpp:1563–1573  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1561
1562
1563 uint32_t SpirvModule::opConvertUtoF(
1564 uint32_t resultType,
1565 uint32_t operand) {
1566 uint32_t resultId = this->allocateId();
1567
1568 m_code.putIns (spv::OpConvertUToF, 4);
1569 m_code.putWord(resultType);
1570 m_code.putWord(resultId);
1571 m_code.putWord(operand);
1572 return resultId;
1573 }
1574
1575
1576 uint32_t SpirvModule::opCompositeConstruct(

Callers 2

emitVectorAluCommonMethod · 0.80
emitComputeDivergenceMethod · 0.80

Calls 3

allocateIdMethod · 0.95
putInsMethod · 0.80
putWordMethod · 0.80

Tested by

no test coverage detected