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

Method defArrayType

GPCS4/Graphics/SpirV/SpirvModule.cpp:759–766  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

757
758
759 uint32_t SpirvModule::defArrayType(
760 uint32_t typeId,
761 uint32_t length) {
762 std::array<uint32_t, 2> args = {{ typeId, length }};
763
764 return this->defType(spv::OpTypeArray,
765 args.size(), args.data());
766 }
767
768
769 uint32_t SpirvModule::defArrayTypeUnique(

Callers 2

emitDclGprArrayMethod · 0.80
getArrayTypeIdMethod · 0.80

Calls 3

defTypeMethod · 0.95
sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected