Use view layer count over texture for attachments

This commit is contained in:
Billy Laws 2022-11-03 22:33:21 +00:00
parent e65ca52d91
commit e9313cc291

View File

@ -31,7 +31,7 @@ namespace skyline::gpu::interconnect::node {
.usage = view->texture->usage,
.width = view->texture->dimensions.width,
.height = view->texture->dimensions.height,
.layerCount = view->texture->layerCount,
.layerCount = view->range.layerCount,
.viewFormatCount = 1,
.pViewFormats = &view->format->vkFormat,
});