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

Method defStructTypeUnique

GPCS4/Graphics/SpirV/SpirvModule.cpp:825–836  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

823
824
825 uint32_t SpirvModule::defStructTypeUnique(
826 uint32_t memberCount,
827 const uint32_t* memberTypes) {
828 uint32_t resultId = this->allocateId();
829
830 m_typeConstDefs.putIns (spv::OpTypeStruct, 2 + memberCount);
831 m_typeConstDefs.putWord(resultId);
832
833 for (uint32_t i = 0; i < memberCount; i++)
834 m_typeConstDefs.putWord(memberTypes[i]);
835 return resultId;
836 }
837
838
839 uint32_t SpirvModule::defPointerType(

Callers 2

emitDclBufferMethod · 0.80
getPerVertexBlockIdMethod · 0.80

Calls 3

allocateIdMethod · 0.95
putInsMethod · 0.80
putWordMethod · 0.80

Tested by

no test coverage detected