| 153 | } |
| 154 | |
| 155 | bool Shader::compile() const |
| 156 | { |
| 157 | if (m_compilationFailed) |
| 158 | return false; |
| 159 | |
| 160 | shadingLanguageIncludeImplementation().compile(this); |
| 161 | |
| 162 | m_compiled = checkCompileStatus(); |
| 163 | |
| 164 | m_compilationFailed = !m_compiled; |
| 165 | |
| 166 | changed(); |
| 167 | |
| 168 | return m_compiled; |
| 169 | } |
| 170 | |
| 171 | bool Shader::isCompiled() const |
| 172 | { |
no outgoing calls
no test coverage detected