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

Function IsNumericTypeEqual

hlslparser/src/HLSLParser.cpp:149–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149bool IsNumericTypeEqual(HLSLBaseType lhsType, HLSLBaseType rhsType)
150{
151 return baseTypeDescriptions[lhsType].numericType ==
152 baseTypeDescriptions[rhsType].numericType;
153}
154
155// TODO: with so many types, should just request the numeric type
156bool IsHalf(HLSLBaseType type)

Callers 2

OutputExpressionMethod · 0.85
ArithmeticOpResultTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected