MCPcopy Create free account
hub / github.com/alecazam/kram / GetScalarType

Function GetScalarType

hlslparser/src/HLSLParser.cpp:331–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

329}
330
331HLSLBaseType GetScalarType(HLSLBaseType type)
332{
333 ASSERT(IsNumericType(type));
334 return NumericToBaseType(baseTypeDescriptions[type].numericType);
335}
336
337int32_t GetVectorDimension(HLSLBaseType type)
338{

Callers 1

MatchFunctionCallMethod · 0.85

Calls 2

IsNumericTypeFunction · 0.85
NumericToBaseTypeFunction · 0.85

Tested by

no test coverage detected