forked from MoonsideGames/Refresh
fix depth RTs
parent
b854a822d6
commit
7bbb15d8a5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue