| 1035 | } |
| 1036 | |
| 1037 | void VulkanBaseContext::RecreateDepthTexture() |
| 1038 | { |
| 1039 | Texture::Params params; |
| 1040 | params.m_width = m_surfaceCapabilities.currentExtent.width; |
| 1041 | params.m_height = m_surfaceCapabilities.currentExtent.height; |
| 1042 | params.m_format = TextureFormat::Depth; |
| 1043 | params.m_allocator = GetDefaultAllocator(this); |
| 1044 | params.m_isRenderTarget = true; |
| 1045 | |
| 1046 | m_depthTexture = make_unique_dp<VulkanTexture>(params.m_allocator); |
| 1047 | m_depthTexture->Create(this, params, nullptr); |
| 1048 | } |
| 1049 | |
| 1050 | VkRenderPass VulkanBaseContext::CreateRenderPass(uint32_t attachmentsCount, AttachmentsOperations const & attachmentsOp, |
| 1051 | VkFormat colorFormat, VkImageLayout initLayout, |
nothing calls this directly
no test coverage detected