| 159 | } |
| 160 | |
| 161 | static void insertRendering(ID3D11DeviceContext *const context, const std::function<void(ID3D11DeviceContext *)> &fn) |
| 162 | { |
| 163 | ZoneScopedN(__FUNCTION__); |
| 164 | |
| 165 | fn(g_deferred_context); |
| 166 | |
| 167 | CComPtr<ID3D11CommandList> commandList = nullptr; |
| 168 | g_deferred_context->FinishCommandList(true, &commandList); |
| 169 | context->ExecuteCommandList(commandList, true); |
| 170 | } |
| 171 | |
| 172 | //const char *const s_taaString = "Temporal Anti-Aliasing"; |
| 173 |