mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-23 20:31:48 +01:00
Fix accidental graphics context member/parameter duplication
This commit is contained in:
parent
7a6f27a19a
commit
3ad640fcbc
@ -1213,7 +1213,7 @@ namespace skyline::gpu::interconnect {
|
||||
if (tscIndexLinked)
|
||||
handle.samplerIndex = handle.textureIndex;
|
||||
|
||||
auto sampler{GetSampler(handle.samplerIndex, tscIndexLinked)};
|
||||
auto sampler{GetSampler(handle.samplerIndex)};
|
||||
auto textureView{GetPoolTextureView(handle.textureIndex)};
|
||||
|
||||
std::scoped_lock lock(*textureView);
|
||||
@ -2491,7 +2491,7 @@ namespace skyline::gpu::interconnect {
|
||||
return vk::BorderColor::eFloatTransparentBlack;
|
||||
}
|
||||
|
||||
std::shared_ptr<Sampler> GetSampler(u32 index, bool tscIndexLinked) {
|
||||
std::shared_ptr<Sampler> GetSampler(u32 index) {
|
||||
if (!samplerPool.samplerControls.valid()) {
|
||||
auto mappings{channelCtx.asCtx->gmmu.TranslateRange(samplerPool.iova, (tscIndexLinked ? texturePool.maximumIndex : samplerPool.maximumIndex) * sizeof(TextureSamplerControl))};
|
||||
if (mappings.size() != 1)
|
||||
|
Loading…
Reference in New Issue
Block a user