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

Method opFSub

GPCS4/Graphics/SpirV/SpirvModule.cpp:1910–1922  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1908
1909
1910 uint32_t SpirvModule::opFSub(
1911 uint32_t resultType,
1912 uint32_t a,
1913 uint32_t b) {
1914 uint32_t resultId = this->allocateId();
1915
1916 m_code.putIns (spv::OpFSub, 5);
1917 m_code.putWord(resultType);
1918 m_code.putWord(resultId);
1919 m_code.putWord(a);
1920 m_code.putWord(b);
1921 return resultId;
1922 }
1923
1924
1925 uint32_t SpirvModule::opSDiv(

Callers 2

emitVectorAluCommonMethod · 0.80
emitRecoverCubeCoordMethod · 0.80

Calls 3

allocateIdMethod · 0.95
putInsMethod · 0.80
putWordMethod · 0.80

Tested by

no test coverage detected