mirror of
https://github.com/Takiiiiiiii/strato.git
synced 2025-07-17 08:46:39 +00:00
Use view layer count over texture for attachments
This commit is contained in:
@ -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,
|
||||
});
|
||||
|
Reference in New Issue
Block a user