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

Function IsIntegerType

hlslparser/src/HLSLParser.cpp:177–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177bool IsIntegerType(HLSLBaseType type)
178{
179 NumericType n = baseTypeDescriptions[type].numericType;
180 return n == NumericType_Int || n == NumericType_Uint ||
181 n == NumericType_Short || n == NumericType_Ushort ||
182 n == NumericType_Long || n == NumericType_Ulong;
183}
184
185bool IsInt(HLSLBaseType type)
186{

Callers 3

GetExpressionValueMethod · 0.85
GetBinaryOpResultTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected