mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-23 05:19:18 +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,
|
||||
.baseMipLevel = guestTexture.viewMipBase,
|
||||
.levelCount = guestTexture.viewMipCount,
|
||||
.baseArrayLayer = guestTexture.baseArrayLayer,
|
||||
.layerCount = guestTexture.GetViewLayerCount(),
|
||||
}, guestTexture.format, guestTexture.swizzle);
|
||||
} else {
|
||||
@ -96,6 +97,7 @@ namespace skyline::gpu {
|
||||
.aspectMask = guestTexture.aspect,
|
||||
.baseMipLevel = guestTexture.viewMipBase,
|
||||
.levelCount = guestTexture.viewMipCount,
|
||||
.baseArrayLayer = guestTexture.baseArrayLayer,
|
||||
.layerCount = guestTexture.GetViewLayerCount(),
|
||||
}, guestTexture.format, guestTexture.swizzle);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user