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

Method defVectorType

GPCS4/Graphics/SpirV/SpirvModule.cpp:737–745  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

735
736
737 uint32_t SpirvModule::defVectorType(
738 uint32_t elementType,
739 uint32_t elementCount) {
740 std::array<uint32_t, 2> args =
741 {{ elementType, elementCount }};
742
743 return this->defType(spv::OpTypeVector,
744 args.size(), args.data());
745 }
746
747
748 uint32_t SpirvModule::defMatrixType(

Callers 12

constvec4i32Method · 0.95
constvec4b32Method · 0.95
constvec4u32Method · 0.95
constvec2f32Method · 0.95
constvec3f32Method · 0.95
constvec4f32Method · 0.95
constfReplicantMethod · 0.95
constbReplicantMethod · 0.95
constiReplicantMethod · 0.95
constuReplicantMethod · 0.95
getVectorTypeIdMethod · 0.80
getPerVertexBlockIdMethod · 0.80

Calls 3

defTypeMethod · 0.95
sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected