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

Method defFloatType

GPCS4/Graphics/SpirV/SpirvModule.cpp:729–734  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

727
728
729 uint32_t SpirvModule::defFloatType(
730 uint32_t width) {
731 std::array<uint32_t, 1> args = {{ width }};
732 return this->defType(spv::OpTypeFloat,
733 args.size(), args.data());
734 }
735
736
737 uint32_t SpirvModule::defVectorType(

Callers 9

constf32Method · 0.95
constf64Method · 0.95
constvec2f32Method · 0.95
constvec3f32Method · 0.95
constvec4f32Method · 0.95
constfReplicantMethod · 0.95
emitPsSystemValueLoadMethod · 0.80
getScalarTypeIdMethod · 0.80
getPerVertexBlockIdMethod · 0.80

Calls 3

defTypeMethod · 0.95
sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected