mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-03 18:14:16 +01:00
Pass base array layer to texture views
This commit is contained in:
parent
ff57d2fbbf
commit
7491178a9e
@ -57,6 +57,7 @@ namespace skyline::gpu {
|
|||||||
.aspectMask = guestTexture.aspect,
|
.aspectMask = guestTexture.aspect,
|
||||||
.baseMipLevel = guestTexture.viewMipBase,
|
.baseMipLevel = guestTexture.viewMipBase,
|
||||||
.levelCount = guestTexture.viewMipCount,
|
.levelCount = guestTexture.viewMipCount,
|
||||||
|
.baseArrayLayer = guestTexture.baseArrayLayer,
|
||||||
.layerCount = guestTexture.GetViewLayerCount(),
|
.layerCount = guestTexture.GetViewLayerCount(),
|
||||||
}, guestTexture.format, guestTexture.swizzle);
|
}, guestTexture.format, guestTexture.swizzle);
|
||||||
} else {
|
} else {
|
||||||
@ -96,6 +97,7 @@ namespace skyline::gpu {
|
|||||||
.aspectMask = guestTexture.aspect,
|
.aspectMask = guestTexture.aspect,
|
||||||
.baseMipLevel = guestTexture.viewMipBase,
|
.baseMipLevel = guestTexture.viewMipBase,
|
||||||
.levelCount = guestTexture.viewMipCount,
|
.levelCount = guestTexture.viewMipCount,
|
||||||
|
.baseArrayLayer = guestTexture.baseArrayLayer,
|
||||||
.layerCount = guestTexture.GetViewLayerCount(),
|
.layerCount = guestTexture.GetViewLayerCount(),
|
||||||
}, guestTexture.format, guestTexture.swizzle);
|
}, guestTexture.format, guestTexture.swizzle);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user