From e9313cc291efcb6a4b896ab1c4595e56b5ff521f Mon Sep 17 00:00:00 2001 From: Billy Laws Date: Thu, 3 Nov 2022 22:33:21 +0000 Subject: [PATCH] Use view layer count over texture for attachments --- app/src/main/cpp/skyline/gpu/interconnect/command_nodes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/cpp/skyline/gpu/interconnect/command_nodes.cpp b/app/src/main/cpp/skyline/gpu/interconnect/command_nodes.cpp index 1313722e..b135b87c 100644 --- a/app/src/main/cpp/skyline/gpu/interconnect/command_nodes.cpp +++ b/app/src/main/cpp/skyline/gpu/interconnect/command_nodes.cpp @@ -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, });