| 108 | int m_lastLineSaved; // dont add OpCode::DebugLine for every expression, but rather only when astNode->line != m_lastLineSaved |
| 109 | template<typename T> |
| 110 | inline void m_exportLine(glsl::astNode<T>* node, bool force = false) |
| 111 | { |
| 112 | if (!node) |
| 113 | return; |
| 114 | |
| 115 | if (m_lastLineSaved != node->line || force) { |
| 116 | m_gen.Function.DebugLineNumber(node->line); |
| 117 | m_lastLineSaved = node->line; |
| 118 | } |
| 119 | } |
| 120 | |
| 121 | ExpressionType m_convertExprType(const std::string& str); |
| 122 | ExpressionType m_mergeExprType(int op, const ExpressionType& left, const ExpressionType& right); |
nothing calls this directly
no outgoing calls
no test coverage detected