mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-23 20:11:49 +01:00
Use view layer count over texture for attachments
This commit is contained in:
parent
e65ca52d91
commit
e9313cc291
@ -31,7 +31,7 @@ namespace skyline::gpu::interconnect::node {
|
|||||||
.usage = view->texture->usage,
|
.usage = view->texture->usage,
|
||||||
.width = view->texture->dimensions.width,
|
.width = view->texture->dimensions.width,
|
||||||
.height = view->texture->dimensions.height,
|
.height = view->texture->dimensions.height,
|
||||||
.layerCount = view->texture->layerCount,
|
.layerCount = view->range.layerCount,
|
||||||
.viewFormatCount = 1,
|
.viewFormatCount = 1,
|
||||||
.pViewFormats = &view->format->vkFormat,
|
.pViewFormats = &view->format->vkFormat,
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user