| 274 | } |
| 275 | |
| 276 | void VkPostprocess::UpdateShadowMap() |
| 277 | { |
| 278 | if (screen->mShadowMap.PerformUpdate()) |
| 279 | { |
| 280 | VkPPRenderState renderstate(fb); |
| 281 | hw_postprocess.shadowmap.Update(&renderstate); |
| 282 | |
| 283 | VkImageTransition() |
| 284 | .AddImage(&fb->GetTextureManager()->Shadowmap, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, false) |
| 285 | .Execute(fb->GetCommands()->GetDrawCommands()); |
| 286 | |
| 287 | screen->mShadowMap.FinishUpdate(); |
| 288 | } |
| 289 | } |
| 290 | |
| 291 | void VkPostprocess::NextEye(int eyeCount) |
| 292 | { |
nothing calls this directly
no test coverage detected