mirror of
https://github.com/Takiiiiiiii/strato.git
synced 2025-07-17 08:46:39 +00:00
Fixup texture swizzling to actually function
Before this we were not applying the supplied swizzles, will be superseeded in the future by using guest swizzle values.
This commit is contained in:
@ -51,7 +51,7 @@ namespace skyline::gpu {
|
||||
.aspectMask = guestTexture.format->vkAspect,
|
||||
.levelCount = texture->mipLevels,
|
||||
.layerCount = texture->layerCount,
|
||||
}, guestTexture.format);
|
||||
}, guestTexture.format, guestTexture.format->swizzle);
|
||||
}
|
||||
} /* else if (mappingMatch) {
|
||||
// We've gotten a partial match with a certain subset of contiguous mappings matching, we need to check if this is a meaningful overlap
|
||||
@ -82,6 +82,6 @@ namespace skyline::gpu {
|
||||
.aspectMask = guestTexture.format->vkAspect,
|
||||
.levelCount = texture->mipLevels,
|
||||
.layerCount = texture->layerCount,
|
||||
}, guestTexture.format);
|
||||
}, guestTexture.format, guestTexture.format->swizzle);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user