fix depth RTs
continuous-integration/drone/push Build is passing Details

pull/1/head
cosmonaut 2021-01-28 21:48:50 -08:00
parent b854a822d6
commit 7bbb15d8a5
1 changed files with 1 additions and 1 deletions

View File

@ -5818,7 +5818,7 @@ static Refresh_RenderTarget* VULKAN_CreateRenderTarget(
imageViewCreateInfo.image = renderTarget->texture->image;
imageViewCreateInfo.format = renderTarget->texture->format;
imageViewCreateInfo.components = swizzle;
imageViewCreateInfo.subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT;
imageViewCreateInfo.subresourceRange.aspectMask = aspectFlags;
imageViewCreateInfo.subresourceRange.baseMipLevel = 0;
imageViewCreateInfo.subresourceRange.levelCount = 1;
imageViewCreateInfo.subresourceRange.baseArrayLayer = 0;