| 441 | } |
| 442 | |
| 443 | void RenderGraph::execute(RenderContext* pRenderContext) |
| 444 | { |
| 445 | std::string log; |
| 446 | if (!compile(pRenderContext, log)) |
| 447 | FALCOR_THROW("Failed to compile render graph:\n{}", log); |
| 448 | |
| 449 | FALCOR_ASSERT(mpExe); |
| 450 | RenderGraphExe::Context c{ |
| 451 | pRenderContext, mPassesDictionary, mCompilerDeps.defaultResourceProps.dims, mCompilerDeps.defaultResourceProps.format}; |
| 452 | mpExe->execute(c); |
| 453 | } |
| 454 | |
| 455 | void RenderGraph::update(const ref<RenderGraph>& pGraph) |
| 456 | { |
no test coverage detected