mirror of
https://github.com/Takiiiiiiii/strato.git
synced 2025-07-17 08:46:39 +00:00
Always rebind pipeline if it has changed from the previous draw
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user