mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-01-11 02:09:21 +01: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) {
|
||||
auto newSet{std::make_shared<DescriptorAllocator::ActiveDescriptorSet>(ctx.gpu.descriptor.AllocateSet(descUpdateInfo->descriptorSetLayout))};
|
||||
ctx.executor.cycle->AttachObject(newSet);
|
||||
|
Loading…
x
Reference in New Issue
Block a user