mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-03-04 08:15:20 +03:00
Always rebind pipeline if it has changed from the previous draw
This commit is contained in:
parent
af1b4ca4f8
commit
5020478ace
@ -225,6 +225,10 @@ namespace skyline::gpu::interconnect::maxwell3d {
|
|||||||
}
|
}
|
||||||
}()};
|
}()};
|
||||||
|
|
||||||
|
if (oldPipeline != pipeline)
|
||||||
|
// If the pipeline has changed, we need to update the pipeline state
|
||||||
|
builder.SetPipeline(pipeline->compiledPipeline.pipeline);
|
||||||
|
|
||||||
if (descUpdateInfo) {
|
if (descUpdateInfo) {
|
||||||
auto newSet{std::make_shared<DescriptorAllocator::ActiveDescriptorSet>(ctx.gpu.descriptor.AllocateSet(descUpdateInfo->descriptorSetLayout))};
|
auto newSet{std::make_shared<DescriptorAllocator::ActiveDescriptorSet>(ctx.gpu.descriptor.AllocateSet(descUpdateInfo->descriptorSetLayout))};
|
||||||
ctx.executor.cycle->AttachObject(newSet);
|
ctx.executor.cycle->AttachObject(newSet);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user