| 175 | } |
| 176 | |
| 177 | void FLIPPass::updatePrograms() |
| 178 | { |
| 179 | if (mRecompile == false) |
| 180 | { |
| 181 | return; |
| 182 | } |
| 183 | |
| 184 | DefineList defines; |
| 185 | defines.add("TONE_MAPPER", std::to_string((uint32_t)mToneMapper)); |
| 186 | |
| 187 | mpFLIPPass->getProgram()->addDefines(defines); |
| 188 | |
| 189 | mRecompile = false; |
| 190 | } |
| 191 | |
| 192 | static void solveSecondDegree(const float a, const float b, float c, float& xMin, float& xMax) |
| 193 | { |
nothing calls this directly
no test coverage detected