| 359 | static HLSLBaseType ArithmeticOpResultType(HLSLBinaryOp binaryOp, HLSLBaseType t1, HLSLBaseType t2); |
| 360 | |
| 361 | const char* GetNumericTypeName(HLSLBaseType type) |
| 362 | { |
| 363 | if (!IsNumericType(type)) |
| 364 | return nullptr; |
| 365 | |
| 366 | // MSL/HLSL share the same type names |
| 367 | const auto& b = baseTypeDescriptions[type]; |
| 368 | return b.typeName; |
| 369 | } |
| 370 | |
| 371 | HLSLBaseType PromoteType(HLSLBaseType toType, HLSLBaseType type) |
| 372 | { |
nothing calls this directly
no test coverage detected