MCPcopy Create free account
hub / github.com/KhronosGroup/SPIRV-Tools / isScalarIntegral

Function isScalarIntegral

source/text_handler.h:69–71  ·  view source on GitHub ↗

Returns true if the type is a scalar integer type.

Source from the content-addressed store, hash-verified

67
68// Returns true if the type is a scalar integer type.
69inline bool isScalarIntegral(const IdType& type) {
70 return type.type_class == IdTypeClass::kScalarIntegerType;
71}
72
73// Returns true if the type is a scalar floating point type.
74inline bool isScalarFloating(const IdType& type) {

Callers 1

spvTextEncodeOperandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected