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

Method opUMod

GPCS4/Graphics/SpirV/SpirvModule.cpp:1970–1982  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1968
1969
1970 uint32_t SpirvModule::opUMod(
1971 uint32_t resultType,
1972 uint32_t a,
1973 uint32_t b) {
1974 uint32_t resultId = this->allocateId();
1975
1976 m_code.putIns (spv::OpUMod, 5);
1977 m_code.putWord(resultType);
1978 m_code.putWord(resultId);
1979 m_code.putWord(a);
1980 m_code.putWord(b);
1981 return resultId;
1982 }
1983
1984
1985 uint32_t SpirvModule::opFDiv(

Callers 3

emitCsLaneReadMethod · 0.80
emitDsSwizzleMethod · 0.80

Calls 3

allocateIdMethod · 0.95
putInsMethod · 0.80
putWordMethod · 0.80

Tested by

no test coverage detected