| 169 | } |
| 170 | |
| 171 | bool IsFloatingType(HLSLBaseType type) |
| 172 | { |
| 173 | NumericType n = baseTypeDescriptions[type].numericType; |
| 174 | return n == NumericType_Half || n == NumericType_Float || n == NumericType_Double; |
| 175 | } |
| 176 | |
| 177 | bool IsIntegerType(HLSLBaseType type) |
| 178 | { |